I have created another vertex of the Person class, with the same json value and in this case this query if that works
Select * from Person where value.name.value = 'Laboratory report' But with CompositeVersion no working, i don´t understand select * from CompositeVersion where value.name.value = 'Laboratory report' El miércoles, 16 de noviembre de 2016, 10:58:21 (UTC+1), Academia Learning Centro de inglés y de formación escribió: > > Hi, > > I have this vertex of class CompositeVersion, > > How can I get all the vertices whose value has the property name equal to > Laboratory > report? > > I had tried with select from CompositeVersion where value.name.value = > 'Laboratory report' but not working > > select from CompositeVersion > METADATAPROPERTIESIN > > @rid > @version > @class > name > version > value > Has > #25:0 > <http://localhost:2480/studio/index.html#/database/EHC_Vertices/browse/edit/25:0> > 7 > CompositeVersion > <http://localhost:2480/studio/index.html#/database/EHC_Vertices/schema/editclass/CompositeVersion> > Composicion1-Version1 > 1 > {"@class":"COMPOSITION", > " > > *name":{"@class":"DV_TEXT","value":"Laboratory report"*}, > "uid":{"@class":"OBJECT_VERSION_ID","value": > "4288d24d-e176-48ba-b85a-4b80523b07d2::demo::1"},"archetype_details":{ > "@class":"ARCHETYPED","archetype_id":{"@class":"ARCHETYPE_ID","value": > "openEHR-EHR-COMPOSITION.report-mnd.v1"},"template_id":{"@class": > "TEMPLATE_ID","value":"Laboratory Report"},"rm_version":"1.0.1"}, > "archetype_node_id":"openEHR-EHR-COMPOSITION.report-mnd.v1","language":]} > > > -- --- 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.