SQLiteConnectionCreateIndex Method (String, String, String, Boolean) |
Creates an index for the specified table and column.
Namespace:
SQLite
Assembly:
RebornBuddy (in RebornBuddy.exe) Version: 3.3.1; net-4.5.win32; release
Syntax public int CreateIndex(
string indexName,
string tableName,
string columnName,
bool unique = false
)
Parameters
- indexName
- Type: SystemString
Name of the index to create - tableName
- Type: SystemString
Name of the database table - columnName
- Type: SystemString
Name of the column to index - unique (Optional)
- Type: SystemBoolean
Whether the index should be unique
Return Value
Type:
Int32See Also