public interface ConstraintForeignKeyReferencesStep2<T1,T2>
The step in the
Constraint
construction DSL API that allows for
matching a FOREIGN KEY
clause with a REFERENCES
clause.- Author:
- Lukas Eder
-
Method Summary
Modifier and TypeMethodDescription@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
Add aREFERENCES
clause to theCONSTRAINT
, referencing a key by column names.
-
Method Details
-
references
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
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
Add aREFERENCES
clause to theCONSTRAINT
, implicitly referencing the primary key. -
references
@NotNull @Support @NotNull ConstraintForeignKeyOnStep references(Table<?> table, Field<T1> field1, Field<T2> field2)Add aREFERENCES
clause to theCONSTRAINT
, referencing a key by column names.
-