Hi,
db.GqlQuery('SELECT * FROM myTable where start_date>=:cdate and
end_date<=:cdate',cdate=current_date)
You are trying to use in-equality filters on two properties in a
single query.. Does this not raise an Exception?
There was a post on how to do this more efficiently in the groups
somewhere, but in your case I think you need to query based on one
date from the datastore and do some logic in the view.
> SELECT * FROM Image where added > DATETIME(2009,1,1,0,0,0) and added <
> DATETIME(2009,2,1,0,0,0)
In this example both are applied to the same property.
Thanks,
Arun Shanker Prasad.
On Feb 3, 4:17 pm, niklasr <
nikla...@gmail.com> wrote:
> gql as below works.
> SELECT * FROM Image where added > DATETIME(2009,1,1,0,0,0) and added <
> DATETIME(2009,2,1,0,0,0)
> we must use the integer form (the manual lists b0rked forms)
http://code.google.com/p/googleappengine/issues/detail?id=878