public class ERXMigrationIndex extends Object
| Constructor and Description |
|---|
ERXMigrationIndex(String name,
boolean unique,
ERXSQLHelper.ColumnIndex... columns)
Creates a new index reference.
|
| Modifier and Type | Method and Description |
|---|---|
ERXSQLHelper.ColumnIndex[] |
columns()
Returns the columns being indexed.
|
boolean |
isUnique()
Returns whether or not this is a unique index.
|
String |
name()
Returns the name of this index.
|
public ERXMigrationIndex(String name, boolean unique, ERXSQLHelper.ColumnIndex... columns)
name - the name of the indexunique - if true, the index will be a unique indexcolumns - the columns to index onpublic String name()
public ERXSQLHelper.ColumnIndex[] columns()
public boolean isUnique()
Copyright © 2002 – 2020 Project Wonder.