diff --git a/lib/datasource.js b/lib/datasource.js index 9ced62d8..86cdd984 100644 --- a/lib/datasource.js +++ b/lib/datasource.js @@ -539,7 +539,7 @@ DataSource.prototype.mixin = function (ModelCtor) { var DAO = this.DataAccessObject; // mixin DAO - jutil.mixin(ModelCtor, DAO, {proxyFunctions: true}); + jutil.mixin(ModelCtor, DAO, {proxyFunctions: true, override: true}); // decorate operations as alias functions Object.keys(ops).forEach(function (name) {