removed unimplemented and unsed Methode
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
a80819b7b8
commit
b5e68e6640
1 changed files with 0 additions and 11 deletions
|
@ -102,7 +102,6 @@ export class joinCross implements Joins{
|
||||||
|
|
||||||
export interface Constraint {
|
export interface Constraint {
|
||||||
name: string;
|
name: string;
|
||||||
serialize(handler: Handler): QueryBuilder;
|
|
||||||
uses(attr: Attribute): boolean;
|
uses(attr: Attribute): boolean;
|
||||||
check(table: Table): boolean | string;
|
check(table: Table): boolean | string;
|
||||||
}
|
}
|
||||||
|
@ -120,9 +119,6 @@ export class checkConstraint implements Constraint {
|
||||||
uses(attr: Attribute): boolean {
|
uses(attr: Attribute): boolean {
|
||||||
throw new Error("Method not implemented.");
|
throw new Error("Method not implemented.");
|
||||||
}
|
}
|
||||||
serialize(handler: Handler): QueryBuilder {
|
|
||||||
throw new Error("Method not implemented.");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export class uniqueConstraint implements Constraint {
|
export class uniqueConstraint implements Constraint {
|
||||||
|
@ -142,10 +138,6 @@ export class uniqueConstraint implements Constraint {
|
||||||
uses(attr: Attribute): boolean {
|
uses(attr: Attribute): boolean {
|
||||||
return this.attrs.includes(attr);
|
return this.attrs.includes(attr);
|
||||||
}
|
}
|
||||||
serialize(handler: Handler): QueryBuilder {
|
|
||||||
throw new Error("Method not implemented.");
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export class foreignConstraint implements Constraint {
|
export class foreignConstraint implements Constraint {
|
||||||
|
@ -161,9 +153,6 @@ export class foreignConstraint implements Constraint {
|
||||||
this.onUpdate = onUpdate;
|
this.onUpdate = onUpdate;
|
||||||
this.onDelete = onDelete;
|
this.onDelete = onDelete;
|
||||||
}
|
}
|
||||||
serialize(handler: Handler): QueryBuilder {
|
|
||||||
throw new Error("Method not implemented.");
|
|
||||||
}
|
|
||||||
uses(attr: Attribute): boolean {
|
uses(attr: Attribute): boolean {
|
||||||
throw new Error("Method not implemented.");
|
throw new Error("Method not implemented.");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue