MCPcopy
hub / github.com/sequelize/sequelize / getTableName

Method getTableName

lib/model.js:1449–1451  ·  lib/model.js::Model.getTableName

* Get the table name of the model, taking schema into account. The method will return The name as a string if the model has no schema, * or an object with `tableName`, `schema` and `delimiter` properties. * * @returns {string|object}

()

Source from the content-addressed store, hash-verified

1447 * @returns {string|object}
1448 */
1449 static getTableName() {
1450 return this.queryGenerator.addSchema(this);
1451 }
1452
1453 /**
1454 * Get un-scoped model

Callers 15

initMethod · 0.95
refreshAttributesMethod · 0.95
syncMethod · 0.95
dropMethod · 0.95
findAllMethod · 0.95
aggregateMethod · 0.95
upsertMethod · 0.95
destroyMethod · 0.95
restoreMethod · 0.95
updateMethod · 0.95
incrementMethod · 0.95

Calls 1

addSchemaMethod · 0.80

Tested by 3

testsqlFunction · 0.64
testsqlFunction · 0.64
testsqlFunction · 0.64