Change Model to BaseModel for clarity
This commit is contained in:
parent
a24b222a72
commit
a19b778cbd
|
@ -21,7 +21,7 @@ var setScopeValuesFromWhere = utils.setScopeValuesFromWhere;
|
||||||
var mergeQuery = utils.mergeQuery;
|
var mergeQuery = utils.mergeQuery;
|
||||||
var util = require('util');
|
var util = require('util');
|
||||||
var assert = require('assert');
|
var assert = require('assert');
|
||||||
var Model = require('./model');
|
var BaseModel = require('./model');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Base class for all persistent objects.
|
* Base class for all persistent objects.
|
||||||
|
@ -594,7 +594,7 @@ DataAccessObject._coerce = function (where) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (DataType.prototype instanceof Model) {
|
if (DataType.prototype instanceof BaseModel) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue