Class DropForeignKeyConstraint
- java.lang.Object
-
- org.linuxforhealth.fhir.database.utils.common.DropForeignKeyConstraint
-
- All Implemented Interfaces:
IDatabaseStatement
public class DropForeignKeyConstraint extends java.lang.Object implements IDatabaseStatement
Drop one or more foreign keys from the schema.table
-
-
Constructor Summary
Constructors Constructor Description DropForeignKeyConstraint(java.lang.String schemaName, java.lang.String tableName, java.lang.String... constraintName)
Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run(IDatabaseTranslator translator, java.sql.Connection c)
Execute the statement using the connection.
-
-
-
Method Detail
-
run
public void run(IDatabaseTranslator translator, java.sql.Connection c)
Description copied from interface:IDatabaseStatement
Execute the statement using the connection.- Specified by:
run
in interfaceIDatabaseStatement
- Parameters:
translator
- to translate any exceptions
-
-