Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
public
/
sequelize
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
不要怂,就是干,撸起袖子干!
Commit 330728b2
authored
Apr 09, 2020
by
Ariel Barabas
Committed by
GitHub
Apr 09, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(types): getForeignKeysForTables argument definition (#12084)
1 parent
cf5b2f54
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
lib/query-interface.js
types/lib/query-interface.d.ts
lib/query-interface.js
View file @
330728b
...
@@ -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
...
...
types/lib/query-interface.d.ts
View file @
330728b
...
@@ -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
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment