MCPcopy
hub / github.com/sequelize/sequelize / min

Method min

src/model.js:2220–2222  ·  view source on GitHub ↗

* Find the minimum value of field * * @param {string} field attribute / field name * @param {object} [options] See aggregate * * @see * Model.aggregate for options * * @returns {Promise<*>}

(field, options)

Source from the content-addressed store, hash-verified

2218 * @returns {Promise<*>}
2219 */
2220 static async min(field, options) {
2221 return await this.aggregate(field, 'min', options);
2222 }
2223
2224 /**
2225 * Find the sum of field

Callers

nothing calls this directly

Calls 1

aggregateMethod · 0.95

Tested by

no test coverage detected