From a19b778cbdef07fab6daac8dedec68b19dc034f6 Mon Sep 17 00:00:00 2001 From: Fabien Franzen Date: Thu, 8 Jan 2015 15:44:28 +0100 Subject: [PATCH] Change Model to BaseModel for clarity --- lib/dao.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/dao.js b/lib/dao.js index 3444fc5f..a4d12867 100644 --- a/lib/dao.js +++ b/lib/dao.js @@ -21,7 +21,7 @@ var setScopeValuesFromWhere = utils.setScopeValuesFromWhere; var mergeQuery = utils.mergeQuery; var util = require('util'); var assert = require('assert'); -var Model = require('./model'); +var BaseModel = require('./model'); /** * Base class for all persistent objects. @@ -594,7 +594,7 @@ DataAccessObject._coerce = function (where) { continue; } - if (DataType.prototype instanceof Model) { + if (DataType.prototype instanceof BaseModel) { continue; }