Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix for mongodb 1.0.x

  • Loading branch information...
commit 7534d1c96430a785f1594ce65f28b5a4c21bcd41 1 parent bf5be9a
Gui Lin authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/mongoskin/db.js
1  lib/mongoskin/db.js
View
@@ -196,6 +196,7 @@ var bindSkin = function(name, method) {
//bind method of mongodb.Db to SkinDb
for (var name in Db.prototype) {
+ if(!name || name[0] == '_' || name == 'state') continue;
var method = Db.prototype[name];
if (name !== 'bind' && name !== 'open' && name !== 'collection' && name !== 'admin') {
bindSkin(name, method);
Please sign in to comment.
Something went wrong with that request. Please try again.