[Developers] OR operator in query
John Giannandrea
jg at metaweb.com
Mon Jun 23 04:50:22 UTC 2008
Christian Hirsch wrote:
> Thanks. Can this query also be modified so that it also returns the
> CVT's? In the case of a movie it doesn't for example return the
> starring actors or the awards won.
You can make the any_master, any_reverse queries two plys out but if
you want the CVTs you need to know more about what the schema is to be
able to use it in the reply. Perhaps it would be useful to know what
you are trying to do overall. If you want all the data about a film
for example why not write the query in terms of film properties?
Reflection is mostly useful when you have no idea what you are
inspecting.
> Also, could the query be modified so that it additionally returns the
> actual label of the properties?
Yes, add master_property:{id:null, name:null}
-jg
More information about the Developers
mailing list