Change Model to BaseModel for clarity

This commit is contained in:
Fabien Franzen 2015-01-08 15:44:28 +01:00
parent a24b222a72
commit a19b778cbd
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}