Package org.jooq

Interface ConstraintForeignKeyReferencesStepN


  • public interface ConstraintForeignKeyReferencesStepN
    The step in the Constraint construction DSL API that allows for matching a FOREIGN KEY clause with a REFERENCES clause.
    Author:
    Lukas Eder
    • Method Detail

      • references

        ConstraintForeignKeyOnStep references​(java.lang.String table)
        Add a REFERENCES clause to the CONSTRAINT, implicitly referencing the primary key.
      • references

        ConstraintForeignKeyOnStep references​(java.lang.String table,
                                              java.lang.String... fields)
        Add a REFERENCES clause to the CONSTRAINT, referencing a key by column names.
      • references

        ConstraintForeignKeyOnStep references​(Name table)
        Add a REFERENCES clause to the CONSTRAINT, implicitly referencing the primary key.