I am making an app which will store files (relatively large ones, but
within the 1MB size limit) in the datastore. To make it possible to
gain information about the files without downloading them I have
separated their information into two models: Doc and DocData, where
Doc contains metadata and DocData contains the file. Doc contains a
reference property to DocData.

I want to get the key from the DocData reference and let the client
use that to make a second http request that gets only DocData(thus
avoiding the problem of any one request being too large). But I am
concerned that the syntax "doc.docdataref.key()" is actually going to
load DocData to get the key instead of using the reference. Someone
please clear me up on the best way to ensure that I'm not loading
DocData unnecessarily.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to