mongoskin <https://github.com/kissjs/node-mongoskin> release 0.3.6, by
kissjs.org

0.3.6

* fix for node-mongodb 1.0.x

mongoskin is a wrapper for node-mongodb.

if you know how to use node-mongodb, you will learn mongoskin in 5 minutes.

var db = require('mongoskin').db('localhost/testdb?auto_reconnect');
> db.bind('user');
>


db.admin.listDatabases(function(err, result){
>
    console.log(result);

});



db.user.find({}, {limit:10, sort:[['created', -1]]}).toArray(function(err,
> users) {
>     console.log(users);
> })
>


db.user.find().limit(10).sort({created:-1}).limit(10).toArray(function(err,
> users){
>     console.log(users);
> })



https://github.com/kissjs/node-mongoskin

-- 
Best regards,

桂林 (Gui Lin)

guileen@twitter <https://twitter.com/#!/guileen>
桂糊涂@weibo <http://weibo.com/guileen>
guileen@github <https://github.com/guileen>

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to