MCPcopy Index your code
hub / github.com/loopbackio/loopback-next / addSetting

Method addSetting

packages/repository/src/model.ts:176–179  ·  view source on GitHub ↗

* Add a setting * @param name - Setting name * @param value - Setting value

(name: string, value: any)

Source from the content-addressed store, hash-verified

174 * @param value - Setting value
175 */
176 addSetting(name: string, value: any): this {
177 this.settings[name] = value;
178 return this;
179 }
180
181 /**
182 * Define a new relation.

Callers 2

model.unit.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected