107 Commits (8e77037de55c8f15a9cc7dd2bbf102ba115b89b6)

Author SHA1 Message Date
Eduardo Sorribas c6e8f5c6cf Collection proxy with harmony. 11 years ago
Mathias Buus 20e4b33a95 ensure optional callbacks for write ops. cc #135 11 years ago
Eduardo Sorribas 2bdd19b44e Stop inhereting collection prototype methods. Fixes #132. 11 years ago
Eduardo Sorribas 809252cd0e Stop inhereting db prototype methods. Refs #132. 11 years ago
Eduardo Sorribas 536743fe89 Rename prototypes. 11 years ago
Eduardo Sorribas a802934cfa Change cursor appply method to support mongo driver 1.4.0. Refs #126 #105 11 years ago
Eduardo Sorribas 20cf5eeb4a Add support for cursor.rewind. Closes #131 11 years ago
Eduardo Sorribas 4de6a44805 Add the cursor.size method 11 years ago
Eduardo Sorribas d1436ff084 Add missing semicolon 11 years ago
Eduardo Sorribas a3e50ef13b Add the cursor.map function 11 years ago
Thomas Watson Steen 649647c98e Extract lastErrorObject from the err argument if findAndModify fails 11 years ago
Eduardo Sorribas a6a8f14970 Fix the remove callback parameters. 11 years ago
Eduardo Sorribas 0f95a380f4 lastErrorObject on all the write functions. 11 years ago
Eduardo Sorribas 6ff4158a7c Add missing error handling 11 years ago
Mirza Kapetanovic c3b43a9852 Removed debug code 11 years ago
Eduardo Sorribas 27ad374fa3 Change the insert callback to make it more intuitive. 11 years ago
Eduardo Sorribas 873cf5d211 Add the lastErrorObject to the .save callback. Now the callbacks are as following. 11 years ago
Eduardo Sorribas 1c1dbd501d Change normalized callback arguments. 11 years ago
Mirza Kapetanovic 014b5d17c2 Normalize lastErrorObject 11 years ago
Mirza Kapetanovic 3e0fa8c8a5 Normalize callback arguments. Same as shell. 11 years ago
Mirza Kapetanovic fa37e1f486 Fix query included in database name 11 years ago
Mathias Buus 80bc3eb75c added toString for database and collection 11 years ago
Mathias Buus 06bbf02b67 expose bson types visible in the shell using the shell names. fixes #99 11 years ago
Eduardo Sorribas fde3f56ef6 Avoid getIndexes crash when called with no parameters. 11 years ago
RG72 0a637ffb93 index.js Emit ready event, when db connected 11 years ago
Mathias Buus d91831f5b1 always closing in shutdown. see #93 11 years ago
Mathias Buus 172deed547 minor style tweaks 11 years ago
Eduardo Sorribas 1919c31057 Manage the sutdown command. 11 years ago
Eduardo Sorribas 1083ba006c Delete unnecessary(and ugly) semicolon. 11 years ago
Mathias Buus 8e9c97f137 createCollection should throw if col exists. Fixes #44 11 years ago
Mathias Buus 0e311019a8 support for chained col names in col array. fixes #42 11 years ago
Mathias Buus 2ec9b9bf16 added .open and some comments 11 years ago
Eduardo Sorribas 66ae6a1b0c Fix runCommand() bugs. 11 years ago
Eduardo Sorribas ba283167dc Fix runCommand() bugs and update tests 11 years ago
Mathias Buus f36fc8f5fe setting highWaterMark to 0 since the driver buffers 11 years ago
Mathias Buus e839b01ead fixed test in regards to #76 and some formatting 11 years ago
Forbes Lindesay 8ec0cb9930 Expose `Database` so the prototype can be easily extended 11 years ago
Forbes Lindesay 39685d9813 Fix getCollectionNames so result is the second arg of callback 11 years ago
Mathias Buus 1191b51c7b .remove returning 0 if something was removed 11 years ago
Mathias Buus 96d5d0bce2 return from remove if no docs are found - fixes #75 11 years ago
Eduardo Sorribas 752aec331b Add support for db.getCollectionNames() and a test case for it. 11 years ago
Mathias Buus 1bf49a3e93 added a ._apply method for the db as well 11 years ago
Mathias Buus aec128431d reemitting error in nextTick. fixes #72 11 years ago
Eduardo Sorribas df3eef40ae Remove duplicate .explain function. 11 years ago
Eduardo Sorribas abb435ec4a Add support for Cursor.explain() 11 years ago
Mathias Buus 942cf5106c using util.inherits 11 years ago
Markus 356715725e Fixing problems with collection names which have the same name as functions in native 11 years ago
Mathias Buus 9b508215e9 added destroy to cursor 11 years ago
Eduardo Sorribas 26d17aa20f Add mongo native Db protptype methods to the Database prototype. 11 years ago
Eduardo Sorribas a37030ac93 Refactor: add a Database constructor function and move db object functions to the prototype of said function. 11 years ago