MCPcopy Create free account
hub / github.com/sequelize/sequelize-typescript / annotate

Function annotate

src/model/table/table.ts:16–19  ·  view source on GitHub ↗
(target: typeof Model, options: TableOptions = {})

Source from the content-addressed store, hash-verified

14}
15
16function annotate(target: typeof Model, options: TableOptions = {}): void {
17 setModelName(target.prototype, options.modelName || target.name);
18 addOptions(target.prototype, options);
19}

Callers 1

TableFunction · 0.70

Calls 2

setModelNameFunction · 0.90
addOptionsFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…