Aliases #3
1 changed files with 0 additions and 11 deletions
|
@ -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.");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue