NodeJS and node-mongodb-native
- by w1nk
Just getting started with node, and trying to get the mongo driver
to work. I've got my connection set up, and oddly I can insert things
just fine, however calling find on a collection produces craziness.
var db = new mongo.Db('things', new mongo.Server('192.168.2.6',mongo.Connection.DEFAULT_PORT, {}), {});
db.open(function(err, db) {
…