Sunday, 15 August 2010

google app engine - How to query a particular object without it's embedded objects or collections? -



google app engine - How to query a particular object without it's embedded objects or collections? -

i have class, lets blarkar. blarkar has embed class kar. when query instance of blarkar want finish object, other times don't need embed objects , embed objects. how load object without embed objects?

you can't. gae loads entity whole or not @ all. not problem , shouldn't seek optimize unless know have real issue. if so, can split entity multiple parts, eg user , userextrastuff.

there special type of query called projection query, not going useful - lets select info out of index without doing total entity lookup. it's useful in limited types of inequality queries. info has in index.

google-app-engine objectify

No comments:

Post a Comment