Class ForeignKeyConstraint.ForeignKeyConstraintBuilder

java.lang.Object
com.github.tadukoo.database.mysql.syntax.ForeignKeyConstraint.ForeignKeyConstraintBuilder
All Implemented Interfaces:
ForeignKeyConstraint.ColumnNames, ForeignKeyConstraint.OptionsOrBuild, ForeignKeyConstraint.ReferenceColumnNames, ForeignKeyConstraint.ReferenceTable
Enclosing class:
ForeignKeyConstraint

A builder to use to make a ForeignKeyConstraint. It takes the following parameters:
Foreign Key Constraint Parameters
Parameter Description Default or Required
columnNames The names of the columns for the foreign key Required
referenceTable The name of the reference table for the foreign key Required
referenceColumnNames The names of the columns from the reference table Required
onDeleteOption The reference option for on delete Defaults to null
onUpdateOption The reference option for on update Defaults to null
Version:
Alpha v.0.3
Author:
Logan Ferree (Tadukoo)