support generic-pool v3 pool config options (#20269)

This commit is contained in:
Leon Chen 2017-10-10 07:02:02 +08:00 committed by Wesley Wigham
parent 0aeff9591d
commit 239c74ded1

11
types/knex/index.d.ts vendored
View File

@ -615,6 +615,17 @@ declare namespace Knex {
priorityRange?: number;
validate?: Function;
log?: boolean;
// generic-pool v3 configs
maxWaitingClients?: number;
testOnBorrow?: boolean;
acquireTimeoutMillis?: number;
fifo?: boolean;
autostart?: boolean;
evictionRunIntervalMillis?: number;
numTestsPerRun?: number;
softIdleTimeoutMillis?: number;
Promise?: any;
}
interface MigratorConfig {