This plugin patches the knex module to bind the promise callback the the caller context.

interface knex {
    enabled?: boolean;
    service?: any;
}

Hierarchy

  • Integration
    • knex

Properties

Properties

enabled?: boolean

Whether to enable the plugin.

Default

true
service?: any

The service name to be used for this plugin.