[google-appengine] Re: Using __key__ and SearchableModel

2009-06-29 Thread twansc...@googlemail.com
On 12 Jun., 01:09, acuth adrian.cuthb...@gmail.com wrote: Hi everyone, just caught up with one of those Google IO videos about developing apps on GAE. I was already using separated out index-blocks so that I could restrict what was indexed for SearchableModel. Now I just want to return

[google-appengine] Re: Using __key__ and SearchableModel

2009-06-12 Thread acuth
With the SearchableModel class you get a new method called search() that takes as a parameter the terms you are searching on. AFAIK there isn't a GQL construct that matches it. On Jun 12, 3:48 am, Antoniov nio@gmail.com wrote: SELECT [* | __key__ ] FROM entity [WHERE condition [AND

[google-appengine] Re: Using __key__ and SearchableModel

2009-06-11 Thread Antoniov
SELECT [* | __key__ ] FROM entity [WHERE condition [AND condition ...]] [ORDER BY property [ASC | DESC] [, property [ASC | DESC] ...]] [LIMIT [offset,]count] [OFFSET offset] [HINT (ORDER_FIRST | HINT FILTER_FIRST | HINT ANCESTOR_FIRST)] Is this what you're looking for? On