Thanks. That is it. Looks like I have to revise my sql. Any links on how to 
query documents with embedded fields?

On Sunday, February 28, 2016 at 10:37:56 AM UTC, Luca Son wrote:
>
> Hi,
>
> I created this query to retrieve the properties name, type and the 
> belonging class name.
>
> select from (select name, type, $class.name as className from (select 
> expand(globalProperties) from metadata:schema)
>  let $class=(select name from (select expand(classes) from metadata:schema
> ) where properties.name in $parent.current.name and properties.globalId in 
> $parent.current.id)
> unwind className) order by className limit -1
>
> Hope it helps
>
> Luca
>

-- 

--- 
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