views:

21

answers:

1

Select all records, ID which is not in the list

How to make like :

query = Story.all()

query.filter('ID **NOT IN** =', [100,200,..,..])
+1  A: 

There's no way to do this efficiently in App Engine. You should simply select everything without that filter, and filter out any matching entities in your code.

Nick Johnson