Skip to content

Commit

Permalink
todo
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Apr 14, 2011
1 parent 7af78ad commit 1facab1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/database.js
Expand Up @@ -65,6 +65,8 @@ Database.prototype = commands;
*/

Database.prototype.selectDB = function(index){
// TODO: these should be their own objects
// that we can easily swap out in SELECT
this.data = this.dbs[index] = this.dbs[index] || {};
this.types = this._types[index] = this._types[index] || {};
};
Expand Down

0 comments on commit 1facab1

Please sign in to comment.