Hi Luigi, I am infact using v 3.0 that I downloaded from the link you mentioned below. Is there anything special I need to do to suppress these special attributes in the result? By defualt, it seems that they are all included.
Thanks, Ashwini On Monday, January 15, 2018 at 4:38:16 AM UTC-5, Luigi Dell'Aquila wrote: > > Hi Ashwini, > > Unfortunately in v 2.2 there is no way to suppress such information > (because of how data are processed when sent on the network). > We already addressed this problem in v 3.0, that will be released in a few > days. If you want to try it now, you can download the RC1 here > http://orientdb.com/orientdb-labs/ > > Thanks > > Luigi > > 2018-01-15 0:37 GMT+01:00 Ashwini. Kumar <ashwin...@gmail.com > <javascript:>>: > >> Hi, >> I created a function like this >> >> ---- >> def attractions = orient.getDatabase().query("select @rid, Type, Name >> from Attractions"); >> return attractions.getClass(); >> ---- >> >> All I was expecting to get back was rid, type and Name. Instead I am >> getting a lot of other attributes like @version , @type, @rid, @fieldTypes. >> >> >> Also, this @rid attribute seems wrong. It starts with a negative number >> ("#-2:0") >> >> These additional unwanted attributes are complicating my middleware and >> frontend. Can we just suppress them at the funtion level? >> >> thanks, >> Ashwini >> >> -- >> >> --- >> You received this message because you are subscribed to the Google Groups >> "OrientDB" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to orient-databa...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to orient-database+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.