Hi
I am working on GAE. When I am running following GQL on app engine:
SELECT * FROM Permissions WHERE UserId=KEY('Users','1') AND
ModuleId=KEY('Modules',1') And Status=True
Then it is showing following error:
The built-in indices are not efficient enough for this query and your
data. Please add a composite index for this query.
But when I am running following GQL on app engine:
SELECT * FROM Permissions WHERE UserId=KEY('Users','1') AND
ModuleId=KEY('Modules','2') And Status=True
Then it is working fine. Just change the ModuleId value in second
query. I can't understand why first is not working and second is
working fine.
Any suggestions are highly appreciated.
Subhash
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" 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-java?hl=en.