Hi Costin,

Have you tried to use exclude() function?

Like following:
select exclude($current, '*name*') from MyClass

Best regards,
Artem Orobets

* Orient Technologiesthe Company behind OrientDB*


2014-05-28 11:15 GMT+03:00 costin popa <[email protected]>:

> Hello
>
> I'm trying to get document that have edges from store, and ignore the edge
> fields (out_xxx). But I get the same problem with all fields.
>
> If I have a Java class MyClass without the *name *property and I make a
> query in the DB using
>
> select from MyClass fetchplan *name*:-2
>
> In the web UI I get a result without the *name *property (and that is
> what I need), but in my Java program I get the *name *property in the
> document wrapped by the result proxy object.
> When I make a detach(), I of course get an error when the value of the
> fetched *name *field is to be copied in a non existing property...
>
>  --
>
> ---
> 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