views:

32

answers:

1

how to get size of entity in google app engine without fetching the entity ( with only key ? ) ?

+2  A: 

You can't - you have to fetch the entity, then compute its size (however you want to measure that).

Nick Johnson
http://code.google.com/p/googleappengine/issues/detail?id=3127ok an issue created. Thanks for reply.
iamgopal
This is a feature request, not a defect. It's also not terribly likely to be implemented: Getting just the size would take just as long as fetching it, and require very nearly the same API CPU time.
Nick Johnson