Hi robert..
Actully my code is not with me right now..
by the way i'm using java api for the same..
code is gvn below..it may have some syntactical error...
pm is Persistence data manager
Query q=pm.newQuery();
q.declareParameter("String param");
q.setfilter("id==param");
List<MyClass> ls=(List<MyClass>) q.execute();
.
.
.
.
The way i declared param as parameter for query ,I want to declare one more
parameter and set one more filter..
I think it will clear the idea now..
On Fri, Mar 5, 2010 at 10:48 AM, Robert Kluin <[email protected]>wrote:
> Can you post the code you are using right now, or at least ell us what
> language you are using?
>
> Robert
>
>
>
>
>
> On Fri, Mar 5, 2010 at 10:42 AM, santosh mantri <[email protected]>
> wrote:
> > Hi m using ape for some application,,,and i want to retrive object
> > from datastore based on two condition...my code works fine for one
> > parameter,,but need help on how to declare two parameters and setting
> > filter for them...
> > it would b great if somebody can help me on this...
> > thanks in advance...
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> [email protected]<google-appengine%[email protected]>
> .
> > For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
> >
> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" 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?hl=en.