Permalink
Browse files

feat: add update function in base adapter

  • Loading branch information...
XadillaX committed Oct 13, 2016
1 parent 58ce374 commit 4f782920517dcbeb26e4637aa2958c8152283da7
Showing with 6 additions and 0 deletions.
  1. +6 −0 lib/adapters/base.js
@@ -68,6 +68,12 @@ class Adapter extends EventEmitter {
});
}

update(model, pk, data, callback) {
process.nextTick(function() {
callback(new Error("this adapter's insert function is not implemented yet."));
});
}

getDBName() {
return "";
}

0 comments on commit 4f78292

Please sign in to comment.