5

Complex queries in API

I'm working in the API and I'd like to use more complex queries.  Is there a format ability for performing such queries

Ex.

This query appears to be a series of queries connected by 'AND's

sg.find_one('Entiry", [ [query],[query], [query]])

 

I'd like to mix some 'OR's and 'AND's together.

sg.find_one('Entiry",[     [ [query] AND [query] AND [query]]   OR     [ [query] AND [query] AND [query]]   ])

How can I do this without breaking it into seperate calls then merging the results?

Thanks,

A

0 comments

Please sign in to leave a comment.