MCPcopy
hub / github.com/sequelize/sequelize / json

Method json

lib/sequelize.js:1025–1027  ·  lib/sequelize.js::Sequelize.json

* Creates an object representing nested where conditions for postgres/sqlite/mysql json data-type. * * @see * {@link Model.findAll} * * @param {string|object} conditionsOrPath A hash containing strings/numbers or other nested hash, a string using dot notation or a string using postgre

(conditionsOrPath, value)

Source from the content-addressed store, hash-verified

1023 * @returns {Sequelize.json}
1024 */
1025 static json(conditionsOrPath, value) {
1026 return new Utils.Json(conditionsOrPath, value);
1027 }
1028
1029 /**
1030 * A way of specifying attr = condition.

Callers 7

sequelize.tsFile · 0.80
json.test.jsFile · 0.80
dao.test.jsFile · 0.80
dao.test.jsFile · 0.80
json.test.jsFile · 0.80
where.test.jsFile · 0.80
json.test.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected