Hi ShriJ, You could use multiple != filters, but bear in mind that these require multiple queries under the hood. If the number of entities you're excluding is low, your best option is to execute a query without the filters, and remove any entities with those IDs from the returned results.
-Nick Johnson On Fri, Jul 10, 2009 at 8:17 AM, ShriJ<[email protected]> wrote: > > Hi All, > > I want a query like "Select * from tableName where id not in (1,2,3)" > in GQL. When I tried this in the data viewer on appspot, I get an > invalid GQL query string error. > > Does anyone know how to construct a "Not in" query in GQL? > > Thanks in advance. > -Shri > > > -- Nick Johnson, App Engine Developer Programs Engineer Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: 368047 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
