On Friday, April 20, 2012 1:41:57 PM UTC+1, Robert Stam wrote:
> If there are 100,000 distinct values and you only want 100 of them which
> There's probably something you can do with map/reduce, but how is going
> On Fri, Apr 20, 2012 at 4:17 AM, Sam Martin <sambomar...@gmail.com> wrote:
>> Hi Robert, thanks for answer - I was aware of the that doc.
>> It's obviously not a C# driver issue, but are you aware of any
>> It doesn't make sense to take only a handful of results from 100,000's of
>> If there are no additional parameters to the distinct command, then the
>> any thoughts/tips on this?
>> On 20 April 2012 05:13, Robert Stam <rob...@10gen.com> wrote:
>>> At a lower level distinct is a database command and not a regular query.
>>> What that means is that all the distinct values are returned at once in
>>> On Thu, Apr 19, 2012 at 7:20 PM, Sam Martin <sambomar...@gmail.com>wrote:
>>>> Take this example,
>>>> var query = Query.EQ("x","123");
>>>> Distinct returns an IEnumerable<BSonValue> - does anyone know how to do run this using a cursor, so that I can take only the first x rows?
>>>> Thanks in advance,
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.