-
public interface ConstraintForeignKeyReferencesStepN
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 ConstraintForeignKeyOnStep
references(String table)
Add aREFERENCES
clause to theCONSTRAINT
, implicitly referencing the primary key.ConstraintForeignKeyOnStep
references(String table, String... fields)
Add aREFERENCES
clause to theCONSTRAINT
, referencing a key by column names.ConstraintForeignKeyOnStep
references(Name table)
Add aREFERENCES
clause to theCONSTRAINT
, implicitly referencing the primary key.ConstraintForeignKeyOnStep
references(Name table, Name... fields)
Add aREFERENCES
clause to theCONSTRAINT
, referencing a key by column names.ConstraintForeignKeyOnStep
references(Table<?> table)
Add aREFERENCES
clause to theCONSTRAINT
, implicitly referencing the primary key.ConstraintForeignKeyOnStep
references(Table<?> table, Field<?>... fields)
Add aREFERENCES
clause to theCONSTRAINT
, referencing a key by column names.
-
-
-
Method Detail
-
references
ConstraintForeignKeyOnStep references(String table)
Add aREFERENCES
clause to theCONSTRAINT
, implicitly referencing the primary key.
-
references
ConstraintForeignKeyOnStep references(String table, String... fields)
Add aREFERENCES
clause to theCONSTRAINT
, referencing a key by column names.
-
references
ConstraintForeignKeyOnStep references(Name table)
Add aREFERENCES
clause to theCONSTRAINT
, implicitly referencing the primary key.
-
references
ConstraintForeignKeyOnStep references(Name table, Name... fields)
Add aREFERENCES
clause to theCONSTRAINT
, referencing a key by column names.
-
references
ConstraintForeignKeyOnStep references(Table<?> table)
Add aREFERENCES
clause to theCONSTRAINT
, implicitly referencing the primary key.
-
references
ConstraintForeignKeyOnStep references(Table<?> table, Field<?>... fields)
Add aREFERENCES
clause to theCONSTRAINT
, referencing a key by column names.
-
-