Hi,
I'm trying to execute following query, which should return 3 values
but returns 0.
I think it's because pointsEarned is a float, but I don't know how to
solve it.
Query query = pm.newQuery(Answer.class);
query.setFilter("pointsEarned < 0");
List<Answer> answers = (List<Answer>) query.execute();
There are 3 Answer entities in the datastore with pointsEarned = -1.0
Is there anyway to query like this < on a float field?
Regards
--
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.