From b5e68e6640de89f05629918e489e359ce6a03110 Mon Sep 17 00:00:00 2001 From: jusax23 Date: Wed, 15 Feb 2023 16:17:09 +0100 Subject: [PATCH] removed unimplemented and unsed Methode --- src/dbStructure.ts | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/dbStructure.ts b/src/dbStructure.ts index 1ca68d8..26de25e 100644 --- a/src/dbStructure.ts +++ b/src/dbStructure.ts @@ -102,7 +102,6 @@ export class joinCross implements Joins{ export interface Constraint { name: string; - serialize(handler: Handler): QueryBuilder; uses(attr: Attribute): boolean; check(table: Table): boolean | string; } @@ -120,9 +119,6 @@ export class checkConstraint implements Constraint { uses(attr: Attribute): boolean { throw new Error("Method not implemented."); } - serialize(handler: Handler): QueryBuilder { - throw new Error("Method not implemented."); - } } export class uniqueConstraint implements Constraint { @@ -142,10 +138,6 @@ export class uniqueConstraint implements Constraint { uses(attr: Attribute): boolean { return this.attrs.includes(attr); } - serialize(handler: Handler): QueryBuilder { - throw new Error("Method not implemented."); - } - } export class foreignConstraint implements Constraint { @@ -161,9 +153,6 @@ export class foreignConstraint implements Constraint { this.onUpdate = onUpdate; this.onDelete = onDelete; } - serialize(handler: Handler): QueryBuilder { - throw new Error("Method not implemented."); - } uses(attr: Attribute): boolean { throw new Error("Method not implemented."); }