-
public interface ConstraintForeignKeyReferencesStep2<T1,T2>
The step in theConstraint
construction DSL API that allows for matching aFOREIGN KEY
clause with aREFERENCES
clause.- Author:
- Lukas Eder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull ConstraintForeignKeyOnStep
references(String table)
Add aREFERENCES
clause to theCONSTRAINT
, implicitly referencing the primary key.@NotNull ConstraintForeignKeyOnStep
references(String table, String field1, String field2)
Add aREFERENCES
clause to theCONSTRAINT
, referencing a key by column names.@NotNull ConstraintForeignKeyOnStep
references(Name table)
Add aREFERENCES
clause to theCONSTRAINT
, implicitly referencing the primary key.@NotNull ConstraintForeignKeyOnStep
references(Name table, Name field1, Name field2)
Add aREFERENCES
clause to theCONSTRAINT
, referencing a key by column names.@NotNull ConstraintForeignKeyOnStep
references(Table<?> table)
Add aREFERENCES
clause to theCONSTRAINT
, implicitly referencing the primary key.@NotNull ConstraintForeignKeyOnStep
references(Table<?> table, Field<T1> field1, Field<T2> field2)
Add aREFERENCES
clause to theCONSTRAINT
, referencing a key by column names.
-
-
-
Method Detail
-
references
@NotNull @Support @NotNull ConstraintForeignKeyOnStep references(String table)
Add aREFERENCES
clause to theCONSTRAINT
, implicitly referencing the primary key.
-
references
@NotNull @Support @NotNull ConstraintForeignKeyOnStep references(String table, String field1, String field2)
Add aREFERENCES
clause to theCONSTRAINT
, referencing a key by column names.
-
references
@NotNull @Support @NotNull ConstraintForeignKeyOnStep references(Name table)
Add aREFERENCES
clause to theCONSTRAINT
, implicitly referencing the primary key.
-
references
@NotNull @Support @NotNull ConstraintForeignKeyOnStep references(Name table, Name field1, Name field2)
Add aREFERENCES
clause to theCONSTRAINT
, referencing a key by column names.
-
references
@NotNull @Support @NotNull ConstraintForeignKeyOnStep references(Table<?> table)
Add aREFERENCES
clause to theCONSTRAINT
, implicitly referencing the primary key.
-
-