Thanks for the reply, but this would compare to the time on my
application server, but I want to compare the time against the time on
the mongo cluster, which is synchronized AFAIK.
Is the BsonDocument the only chance to do this or is there a "native"
way?
On 19 Mrz., 17:25, Sam Martin <
sambomar...@gmail.com> wrote:
> Sorry, forgot the find bit (from ipad not easy)
>
> var query = Query.LTE("BDay", DateTime.Now);
> foreach (BsonDocument guest in guests.Find(query)) {
> // do something with guest}
>
>
>
>
>
>
>
> On Monday, March 19, 2012 4:20:03 PM UTC, Sam Martin wrote:
>
> > Query.Lte("dt", DateTime.Now)
>
> > You can still execute the JavaScript equiv using BsonDocument too.
>
> > Sam Martin
>