MCPcopy Index your code
hub / github.com/sequelize/sequelize-auto / build

Method build

src/auto.ts:59–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57 }
58
59 build(): Promise<TableData> {
60 const builder = new AutoBuilder(this.sequelize, this.options);
61 return builder.build().then(tableData => {
62 if (this.options.closeConnectionAutomatically) {
63 return this.sequelize.close().then(() => tableData);
64 }
65 return tableData;
66 });
67 }
68
69 relate(td: TableData): TableData {
70 const relater = new AutoRelater(this.options);

Callers 2

setupModelsFunction · 0.95
runMethod · 0.95

Calls 1

buildMethod · 0.95

Tested by 1

setupModelsFunction · 0.76