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

Commit ff7f98b6 by Jumpei Ogawa

Add missing parameter to the JSDoc of findOrCreate

1 parent 12ed53aa
Showing with 1 additions and 0 deletions
......@@ -1599,6 +1599,7 @@ Model.prototype.findOrInitialize = Model.prototype.findOrBuild = function(option
* @param {Object} options
* @param {Object} options.where where A hash of search attributes.
* @param {Object} [options.defaults] Default values to use if creating a new instance
* @param {Transaction} [options.transaction] Transaction to run query under. See above for detail
* @see {Model#findAll} for a specification of find and options
* @return {Promise<Instance,created>}
*/
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!