fluent-mongo
fluent-mongo copied to clipboard
Provides a fluent interface on top of the 10gen driver including Linq.
I looked for a google group or craig's twitter but only found this. I'm trying to use fluentmongo as the datasource behind a wcf service, specifically, a nuget feed (the...
The following query works fine: ``` var people = (from p in Collection.AsQueryable() where p.FirstName.Contains("oe") select p).ToList(); ``` But this one always returns an empty result set: ``` var people...
I'm using dynamic link to run mapreduce queries and I'm running into a problem when trying to group by multiple values. Check this out: This works fine: var query =...
Noticed that LongCount is not supported in FluentMongo. It should be a fairly easy implementation, because MongoDB native count returns a a 64bit integer instead of a 32bit. This is...
Hi ! I already have seen similar problem (see issue #2 - closed), but I can't find some resolution. Help please! MongoCollection coll = db.GetCollection("xxx"); var items = coll.AsQueryable().Where(p =>...
public class Example { List Tags {get;set} } GetCollection("Example").AsQueryable().Select(x => x.Tags.Sum(o => o.Length)).Take(5).ToList(); The error is Property 'Int32 Length' is not defined for type 'Example' The type should string.
When running my application I have to to write to screen raw query used. Is any method/extension method available, to get from this: IQueryable alldata = hr.GetCollection"EventsReceiver").AsQueryable().Where(q => q.UserId ==...
When querying something like: ``` experts.Where(e => authorsIds.Contains(e.Id)).ToList() ``` where experts is a fluent-mongo Queryable collection and authorsIds is just some List. Id is declared as ``` public Guid Id...
Hi, I'd like to implement the following using FluentMongo (this is a LINQPad query): ``` void Main() { MongoServer mongo = MongoServer.Create(new MongoConnectionStringBuilder() { Server = new MongoServerAddress("localhost") } );...