Click or drag to resize

SQLiteConnectionCreateIndex Method (String, String, Boolean)

Creates an index for the specified table and columns.

Namespace:  SQLite
Assembly:  RebornBuddy (in RebornBuddy.exe) Version: 3.3.1; net-4.5.win32; release
Syntax
C#
public int CreateIndex(
	string tableName,
	string[] columnNames,
	bool unique = false
)

Parameters

tableName
Type: SystemString
Name of the database table
columnNames
Type: SystemString
An array of column names to index
unique (Optional)
Type: SystemBoolean
Whether the index should be unique

Return Value

Type: Int32
See Also