Xqlite.Schema.IndexInfo (Xqlite v0.7.0)
View SourceInformation about an index on a table, corresponding to PRAGMA index_list.
Summary
Types
@type t() :: %Xqlite.Schema.IndexInfo{ name: String.t(), origin: Xqlite.Schema.Types.index_origin(), partial: boolean(), unique: boolean() }
Struct definition.
:name- Name of the index. SQLite automatically generates names for indexes created by constraints (e.g.,sqlite_autoindex_tablename_1).:unique-trueif the index enforces uniqueness,falseotherwise.:origin- How the index was created (seet:Types.index_origin/0).:primary_keyfor primary key constraints,:unique_constraintfor unique constraints,:create_indexforCREATE INDEXstatements.:partial-trueif the index is partial (has aWHEREclause),falseotherwise.