mirror of https://gitee.com/bigwinds/arangodb
Merge branch 'devel' of https://github.com/arangodb/arangodb into data-modification
This commit is contained in:
commit
d774236379
|
@ -133,17 +133,6 @@ Model.fromClient = function (attributes) {
|
||||||
return new this(excludeExtraAttributes(attributes, this));
|
return new this(excludeExtraAttributes(attributes, this));
|
||||||
};
|
};
|
||||||
|
|
||||||
// "Class" Properties
|
|
||||||
_.extend(Model, {
|
|
||||||
// TODO: Docs
|
|
||||||
|
|
||||||
toJSONSchema: function (id) {
|
|
||||||
'use strict';
|
|
||||||
require('console').log('Model.toJSONSchema(id) is deprecated, use Foxx.toJSONSchema(id, Model) instead');
|
|
||||||
return toJSONSchema(id, this);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
// Instance Properties
|
// Instance Properties
|
||||||
_.extend(Model.prototype, {
|
_.extend(Model.prototype, {
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
Loading…
Reference in New Issue