MCPcopy Index your code
hub / github.com/sequelize/sequelize / max

Method max

src/model.js:2205–2207  ·  view source on GitHub ↗

* Find the maximum 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

2203 * @returns {Promise<*>}
2204 */
2205 static async max(field, options) {
2206 return await this.aggregate(field, 'max', options);
2207 }
2208
2209 /**
2210 * Find the minimum value of field

Callers

nothing calls this directly

Calls 1

aggregateMethod · 0.95

Tested by

no test coverage detected