One get_by_id is one datastore read. When you access a reference property for 
the first time it will do the datastore read. Accessing all forums of a group 
would be a separate query.

-Martin

On Jan 26, 2012, at 8:30 AM, ikalbeniz <txup...@gmail.com> wrote:

> Hi,
> 
> I have developed a forum where i have structured the database using
> ReferenceProperties to link forum groups, forums, threads, posts and
> users.. so a group (db.model object) has N forums that have N threads
> with N posts..
> 
> I have a problem with the Datastore Read Operations Quota and i think
> than can be because when i get a Group object GAE gives me all tree
> structure so with one get_by_id i have lots of Datastore Read
> Operations..
> 
> Can someone confirm that this is ok? How an i avoid GAE do this so if
> i only want to show Group properties values so i dont need to acces
> all forums belongs to the group..
> 
> thanks.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> 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 google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to