mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 15:57:13 +00:00
Add search path config option to knex.js.
This commit is contained in:
@@ -78,6 +78,12 @@ var knex = Knex({
|
||||
client: 'pg'
|
||||
});
|
||||
|
||||
// searchPath
|
||||
var knex = Knex({
|
||||
client: 'pg',
|
||||
searchPath: 'public',
|
||||
});
|
||||
|
||||
// useNullAsDefault
|
||||
var knex = Knex({
|
||||
client: 'sqlite',
|
||||
|
||||
Vendored
+1
@@ -455,6 +455,7 @@ declare module "knex" {
|
||||
migrations?: MigratorConfig;
|
||||
acquireConnectionTimeout?: number;
|
||||
useNullAsDefault?: boolean;
|
||||
searchPath?: string;
|
||||
}
|
||||
|
||||
interface ConnectionConfig {
|
||||
|
||||
Reference in New Issue
Block a user