Permalink
Browse files

updated readme and bumped version

  • Loading branch information...
Vinay Pulim
Vinay Pulim committed Aug 2, 2011
1 parent 85e9ef1 commit a79f20f2c5e70985eb15f6dd578b068ec25fa33c
Showing with 3 additions and 3 deletions.
  1. +2 −2 Readme.md
  2. +1 −1 package.json
View
@@ -29,7 +29,7 @@ node-mongodb-native:
mongode:
var mongode = require('mongode');
- var test = mongode.connect('test', 'mongodb://127.0.0.1');
+ var test = mongode.connect('test', '127.0.0.1');
var collection = test.collection('test_collection');
collection.insert({hello: 'world'}, {safe:true}, function(err, objects) {
if (err) console.warn(err.message);
@@ -41,7 +41,7 @@ Binding
You can bind databases and collections by name:
var mongode = require('mongode');
- mongode.connect('test', 'mongodb://127.0.0.1');
+ mongode.connect('test', '127.0.0.1');
var test = mongode.test;
test.collection('foo');
View
@@ -1,6 +1,6 @@
{
"name":"mongode",
- "version":"0.0.2",
+ "version":"0.0.3",
"description":"A thin wrapper around node-mongodb-native with a simpler API",
"engines":{"node":">=0.4.0"},
"author":"Vinay Pulim <v@pulim.com>",

0 comments on commit a79f20f

Please sign in to comment.