This commit is contained in:
Timo Hocker 2020-04-17 11:08:03 +02:00
parent 8b8fbb3ec5
commit 3b9e3d416a

View File

@ -12,11 +12,13 @@ export class KnexCrudHandler extends HttpHandler implements CrudHandler {
protected knex: Knex; protected knex: Knex;
public constructor ( public constructor (
knex: Knex,
table: string, table: string,
columns: Array<string>, columns: Array<string>,
options: KnexCrudOptions = {} options: KnexCrudOptions = {}
) { ) {
super (); super ();
this.knex = knex;
this.table = table; this.table = table;
this.columns = columns; this.columns = columns;
this.options = options; this.options = options;