This repository has been archived on 2020-08-13. You can view files and clone it, but cannot push or open issues or pull requests.
requestor/lib/KnexCrudHandler.ts
Timo Hocker a1715aa117 fix
2020-04-16 09:46:06 +02:00

18 lines
414 B
TypeScript

import { CrudHandler } from './CrudHandler';
export class KnexCrudHandler implements CrudHandler {
protected table: string;
protected columns: Array<string>;
protected options: Record<string, unknown>;
public constructor (
table: string,
columns: Array<string>,
options: Record<string, unknown> = {}
) {
this.table = table;
this.columns = columns;
this.options = options;
}
}