hie

This seems to implies i cannot use the above suggested method as  timeFrom
and timeTo are two different attributes in my entity and i have to check if
a value is in between of timeFrom and timeTo

Then how should i get this?

Thankx and Regards

Vik
Founder
www.sakshum.com
www.sakshum.blogspot.com


On Tue, Nov 16, 2010 at 9:37 PM, Didier Durand <[email protected]>wrote:

> Hi,
>
> Also see all details at
>
> http://code.google.com/appengine/docs/java/datastore/queriesandindexes.html#Restrictions_on_Queries
>
> You can filter on a range on a given property: it's described there.
>
> regards
> didier
>
> On Nov 16, 4:33 pm, Robert Lancer <[email protected]> wrote:
> > You can set two filter properties, one for greater than and one for
> > less than.
> >
> > http://code.google.com/appengine/docs/java/javadoc/com/google/appengi...
> >
> > Ex:
> >
> > Query q = new Query(KIND);
> > q.addFilter("Prop" , Query.FilterOperator.GREATER_THAN_OR_EQUAL ,
> > startVal);
> > q.addFilter("Prop" , Query.FilterOperator.LESS_THAN , endVal);
> >
> > On Nov 16, 9:57 am, Vik <[email protected]> wrote:
> >
> > > Hie
> >
> > > I want to find rows where  a number exist in between of two column
> values
> > > which are say numFrom and numTo.
> > > So does app engine query support between operator to write like
> >
> > > select myclass where myNum in between numFrom and numTo   ?
> >
> > > Thankx and Regards
> >
> > > Vik
> > > Founderwww.sakshum.comwww.sakshum.blogspot.com
>
> --
> 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]<google-appengine-java%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>

-- 
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.

Reply via email to