In my application i frequently need "userpreference". So I am
memcacheing it using pickle.

Now , userpreference model have one entity called teampreference ,
which is a reference property to the teampreference.

I can now using teampreference easily. But Not sure weather it is
coming from memory or google app engine is fetching it behind the
scene ?..

I hope this helps to understand the scenario.

On Nov 11, 5:50 pm, Jonk <[EMAIL PROTECTED]> wrote:
> On 11 marras, 14:22, gops <[EMAIL PROTECTED]> wrote:
>
> > suppoe i have one model
>
> > ie.
>
> > class A(db.model):
> >    bla = db.ReferenceProperty(B)
>
> > and i pickle.dump it , will it also store/return the whole data of B
> > or just the key ?
>
> > i.e. if I latter pickle.loads it , will I have a full B ( so that
> > there won't any datastore query happen) ? or just the key and whenever
> > i access it it need to fetch it ?
>
> Hi.
>
> I'm interested in why would you want to do such a thing; can you shed
> some light on this?
>
>     jK
--~--~---------~--~----~------------~-------~--~----~
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