diff --git a/lib/KnexCrudHandler.ts b/lib/KnexCrudHandler.ts index 9602729..89585fb 100644 --- a/lib/KnexCrudHandler.ts +++ b/lib/KnexCrudHandler.ts @@ -12,11 +12,13 @@ export class KnexCrudHandler extends HttpHandler implements CrudHandler { protected knex: Knex; public constructor ( + knex: Knex, table: string, columns: Array, options: KnexCrudOptions = {} ) { super (); + this.knex = knex; this.table = table; this.columns = columns; this.options = options;