Package org.jooq
Interface ConstraintForeignKeyReferencesStep2<T1,T2>
-
public interface ConstraintForeignKeyReferencesStep2<T1,T2>The step in theConstraintconstruction DSL API that allows for matching aFOREIGN KEYclause with aREFERENCESclause.- Author:
- Lukas Eder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConstraintForeignKeyOnStepreferences(java.lang.String table)Add aREFERENCESclause to theCONSTRAINT, implicitly referencing the primary key.ConstraintForeignKeyOnStepreferences(java.lang.String table, java.lang.String field1, java.lang.String field2)Add aREFERENCESclause to theCONSTRAINT, referencing a key by column names.ConstraintForeignKeyOnStepreferences(Name table)Add aREFERENCESclause to theCONSTRAINT, implicitly referencing the primary key.ConstraintForeignKeyOnStepreferences(Name table, Name field1, Name field2)Add aREFERENCESclause to theCONSTRAINT, referencing a key by column names.ConstraintForeignKeyOnStepreferences(Table<?> table)Add aREFERENCESclause to theCONSTRAINT, implicitly referencing the primary key.ConstraintForeignKeyOnStepreferences(Table<?> table, Field<T1> field1, Field<T2> field2)Add aREFERENCESclause to theCONSTRAINT, referencing a key by column names.
-
-
-
Method Detail
-
references
ConstraintForeignKeyOnStep references(java.lang.String table)
Add aREFERENCESclause to theCONSTRAINT, implicitly referencing the primary key.
-
references
@Support ConstraintForeignKeyOnStep references(java.lang.String table, java.lang.String field1, java.lang.String field2)
Add aREFERENCESclause to theCONSTRAINT, referencing a key by column names.
-
references
ConstraintForeignKeyOnStep references(Name table)
Add aREFERENCESclause to theCONSTRAINT, implicitly referencing the primary key.
-
references
@Support ConstraintForeignKeyOnStep references(Name table, Name field1, Name field2)
Add aREFERENCESclause to theCONSTRAINT, referencing a key by column names.
-
references
ConstraintForeignKeyOnStep references(Table<?> table)
Add aREFERENCESclause to theCONSTRAINT, implicitly referencing the primary key.
-
-