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 <[email protected]>:
>
> 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 <[email protected]> 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 [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
-~----------~----~----~----~------~----~------~--~---