Click or drag to resize

SQLiteConnectionCreateIndex Method (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
C#
public int CreateIndex(
	string tableName,
	string columnName,
	bool unique = false
)

Parameters

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: Int32
See Also