Skip to content

Commit 55cdbdf

Browse files
committed
Updated DatabaseFilter type to improve naming consistency.
1 parent eeb32c1 commit 55cdbdf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ export type ZongjiOptions = {
2121

2222
/**
2323
* Record specifying a database and specific tables. ie. ['MyDatabase']: ['table1', 'table2']
24-
* OR a filter function that returns true if a schema.table combination should be included
24+
* OR a filter function that returns true if a database.table combination should be included
2525
* OR specifying true will include all tables in the database.
2626
*/
2727
interface DatabaseFilter {
28-
[databaseName: string]: string[] | true | ((table: string, databaseName: string) => boolean);
28+
[database: string]: string[] | true | ((table: string, database: string) => boolean);
2929
}
3030

3131
export type StartOptions = {

0 commit comments

Comments
 (0)