Actually mongojs supports cursors as the same speed as mongo-native:
Just do:
var cursor = db.mycollection.find(query);
cursor.forEach(function(err, elem) { ... });
or any of the other cursor operations - it's just a very small wrapper
/m
On Sep 20, 8:56 am, Ian Jørgensen <
jorgensen....@gmail.com> wrote:
> Its the same speed it just wraps mongo-native. If you need cursors i
> would go for mongo-native, otherwise stick to mongojs.
>
> On Sep 12, 8:30 am, Stefan Zehe <
s.z...@upjers.com> wrote:
>
>
>
>
>
>
>
> > Am 10.09.2011 17:54, schrieb Ian J rgensen:
>
> > > We mademongojsathttp://Ge.ttandwe use it in production, so its
> > >
https://github.com/mafintoshhttps://github.com/ianjorgensen. We will
> > > take any resonalble pull requests but keeping the interface clean is
> > > our main concern,mongojsis a wrapperhttps://
github.com/christkv/node-mongodb-native.
>
> > > What type of docs would you like to see?
>
> > > -Ian
>
> > > On Sep 10, 5:49 am, Srirangan <
sriran...@gmail.com> wrote:
> > >> I'm thinking of usingmongojs<
https://github.com/gett/mongojs> instead of
> > >> mongoose. Why? Lesser learning curve, I'm already familiar with MongoDB and
> > >> think its nice to use the exact same commands I would use in the mongo
> > >> console.
>
> > >> My only concern withmongojs, and this is where the mongoose team has done
> > hi,
> > ismongojsnoticable slower than mongo-native? it looks like just perfect!