不要怂,就是干,撸起袖子干!

Commit 3897c476 by Fırat KÜÇÜK

fieldname mapping for model.count added

1 parent 6670246e
Showing with 2 additions and 0 deletions
...@@ -842,6 +842,8 @@ module.exports = (function() { ...@@ -842,6 +842,8 @@ module.exports = (function() {
validateIncludedElements.call(this, options); validateIncludedElements.call(this, options);
} }
mapFieldNames.call(this, options, this);
options.dataType = DataTypes.INTEGER; options.dataType = DataTypes.INTEGER;
options.includeIgnoreAttributes = false; options.includeIgnoreAttributes = false;
options.limit = null; options.limit = null;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!