不要怂,就是干,撸起袖子干!

Commit 330728b2 by Ariel Barabas Committed by GitHub

fix(types): getForeignKeysForTables argument definition (#12084)

1 parent cf5b2f54
...@@ -677,7 +677,7 @@ class QueryInterface { ...@@ -677,7 +677,7 @@ class QueryInterface {
/** /**
* Returns all foreign key constraints of a table * Returns all foreign key constraints of requested tables
* *
* @param {string[]} tableNames table names * @param {string[]} tableNames table names
* @param {object} [options] Query options * @param {object} [options] Query options
......
...@@ -439,9 +439,9 @@ export class QueryInterface { ...@@ -439,9 +439,9 @@ export class QueryInterface {
public nameIndexes(indexes: string[], rawTablename: string): Promise<void>; public nameIndexes(indexes: string[], rawTablename: string): Promise<void>;
/** /**
* Returns all foreign key constraints of a table * Returns all foreign key constraints of requested tables
*/ */
public getForeignKeysForTables(tableNames: string, options?: QueryInterfaceOptions): Promise<object>; public getForeignKeysForTables(tableNames: string[], options?: QueryInterfaceOptions): Promise<object>;
/** /**
* Get foreign key references details for the table * Get foreign key references details for the table
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!