Package | Description |
---|---|
net.aditsu.depeche |
Modifier and Type | Method and Description |
---|---|
List<UniqueConstraint> |
Provider.getUniqueConstraints(Table t)
Returns a list of all the unique constraints on the given table (not including the primary key)
|
List<UniqueConstraint> |
PGProvider.getUniqueConstraints(Table t) |
Modifier and Type | Method and Description |
---|---|
void |
Provider.addUnique(UniqueConstraint c)
Adds a unique constraint
|
void |
Provider.addUnique(UniqueConstraint c,
Conn conn)
Adds a unique constraint, using a given connection
|
String |
Provider.getAddUniqueSQL(UniqueConstraint c)
Returns an SQL command for adding a unique constraint
|