The collection_name part is just a shortcut for a query you can
construct yourself.

result = ModelWithRef.all().filter('refprop =', obj.key()).fetch(num)

2008/12/15 James <thelevybre...@gmail.com>:
>
> The collection_name part of the ReferenceProperty is a really great
> way of threading from another entity back to its reference.
>
> read more here: 
> http://code.google.com/appengine/docs/datastore/typesandpropertyclasses.html
>
> On Dec 14, 4:13 pm, Amir  Michail <amich...@gmail.com> wrote:
>> Hi,
>>
>> This would be very useful given the limit of 1000 results returned by
>> a query.
>>
>> Amir
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to