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

Method min

lib/model.js:2141–2143  ·  view source on GitHub ↗

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

(field, options)

Source from the content-addressed store, hash-verified

2139 * @returns {Promise<*>}
2140 */
2141 static async min(field, options) {
2142 return await this.aggregate(field, 'min', options);
2143 }
2144
2145 /**
2146 * Find the sum of field

Callers

nothing calls this directly

Calls 1

aggregateMethod · 0.95

Tested by

no test coverage detected