On Tue, Jan 20, 2009 at 15:58, dd <[email protected]> wrote: > > Qian Qiao 写道: >>> Have you tried the using the same filter like this? >>> >>> db.Query(Foo) >>> query.filter(your_filter) >>> >>> HTH. >>> >>> -- Joe > yh. > i have a record like : > c = Cat(name='c',year=2009,month=1) > , i want to query and get this record,so i use: > Cat.all().filter('name =','c').filter('year =',2009).filter('month =',1) > ,and get nothing.the result is []. > does not the query get the record Cat(name='d',year=2009,month=1)? > what is wrong with my comprehension?? and why?? > thx!
Hmm, the query LGTM, I can't think of anything wrong with it. Try run the same query in the the development console and see if that give you anything? -- Joe --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
