From: Sam Millman <sam.mill...@gmail.com>
Date: Thu, 6 Oct 2011 14:52:21 +0100
Local: Thurs, Oct 6 2011 9:52 am
Subject: Re: [mongodb-user] Re: user <-> membership <-> team schema to design
in PHP it is still on single query: find(array("memberships" => array('$in' => new MongoId($user_id)))); This will not only return the membership and related membership for possible Whereas with plan 1 it is two queries. On 6 October 2011 14:42, Karl Seguin <karlseg...@gmail.com> wrote: > I think you are over simplifying. -- > How well does #2 work in a sharded environment if you want to get all of a > Karl > -- > To post to this group, send email to mongodb-user@googlegroups.com. You received this message because you are subscribed to the Google Groups "mongodb-user" group. To post to this group, send email to mongodb-user@googlegroups.com. To unsubscribe from this group, send email to mongodb-user+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en. You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||