Lidan Hazout
Lidan Hazout

Reputation: 3

AppEngine - JDO query !contains

I'm using Google App Engine with JDO. Trying to get entities where a collection of strings doesn't contain a specific string:

!viewers.contains('aaa')
"App Engine datastore does not support operator NOT"

Any workarounds?

Upvotes: 0

Views: 109

Answers (1)

Peter Knego
Peter Knego

Reputation: 80340

GAE queries are always performed on indexes. However, the does not include string query needs a table scan. Such query is not possible on GAE.

Upvotes: 1

Related Questions