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.
