AppEngine datastore persistency manager get all except
I'm trying to find the most efficient way to get all objects from the datastore except ones already contained in a list.
Eg. PersistencyM开发者_开发知识库anager.getObjectsById(List) will return a list of objects with given ID's. I want a getObjectsExcept(List) method that will return all of the objects that are not contained in the given collection.
No such function, I am afraid.
You have to manually iterate over all object ids (using a paged query) and ignore those that are in your list.
精彩评论