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 <[email protected]>:

> 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 [email protected].
> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to