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

Commit d174b875 by Jan Aagaard Meier

Merge pull request #4229 from gustavohenke/patch-1

Update JSDoc of Model.prototype.findOrInitialize()
2 parents 69c8dc40 cbd3be84
Showing with 1 additions and 1 deletions
...@@ -1753,7 +1753,7 @@ Model.prototype.create = function(values, options) { ...@@ -1753,7 +1753,7 @@ Model.prototype.create = function(values, options) {
* @param {Object} [options.transaction] Transaction to run query under * @param {Object} [options.transaction] Transaction to run query under
* @param {Function} [options.logging=false] A function that gets executed while running the query to log the sql. * @param {Function} [options.logging=false] A function that gets executed while running the query to log the sql.
* *
* @return {Promise<Instance>} * @return {Promise<Instance,initialized>}
* @alias findOrBuild * @alias findOrBuild
*/ */
Model.prototype.findOrInitialize = Model.prototype.findOrBuild = function(options) { Model.prototype.findOrInitialize = Model.prototype.findOrBuild = function(options) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!