On Fri, Feb 10, 2012 at 9:03 PM, poke <[email protected]> wrote:
> thanks .
> finally pm.getObjectById() is  Entity Get ?

Yes, you are loading the contents of a datastore entity.

Cheers,
Brian

>
> On Feb 10, 4:05 pm, Brian Quinlan <[email protected]> wrote:
>> On Fri, Feb 10, 2012 at 7:53 PM, poke <[email protected]> wrote:
>> > Few days ago , i change my code to access by key (not by query) . But
>> > in Billing report  "Small Datastore Operations " still equal zero and
>> > "Datastore Reads " same as using query - billing not go to down.
>>
>> > JDO pm.getObjectById() method still count as Datastore Reads
>>
>> Gets still cost a read operation. 
>> See:http://code.google.com/appengine/docs/billing.html
>>
>> Entity Get (per entity): 1 Read
>> Query: 1 Read + 1 Read per entity returned
>>
>> Cheers,
>> Brian
>>
>>
>>
>>
>>
>>
>>
>> > --
>> > 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 
>> > athttp://groups.google.com/group/google-appengine?hl=en.
>
> --
> 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.
>

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