Xqlite.Schema.Types (Xqlite v0.7.0)
View SourceDefines shared types used across schema information structs.
Summary
Types
Indicates if and how a column is hidden/generated. From PRAGMA table_xinfo
The action to take on a foreign key constraint violation.
The foreign key matching clause type (rarely used beyond :none).
The origin of an index (how it was created).
The type of schema object (table, view, etc.).
The sort order for a column within an index.
The resolved type affinity of a column.
Types
@type fk_action() :: :no_action | :restrict | :set_null | :set_default | :cascade
The action to take on a foreign key constraint violation.
@type fk_match() :: :none | :simple | :partial | :full
The foreign key matching clause type (rarely used beyond :none).
@type index_origin() :: :create_index | :unique_constraint | :primary_key_constraint
The origin of an index (how it was created).
@type object_type() :: :table | :view | :shadow | :virtual | :sequence
The type of schema object (table, view, etc.).
@type sort_order() :: :asc | :desc
The sort order for a column within an index.
@type type_affinity() :: :text | :numeric | :integer | :float | :binary
The resolved type affinity of a column.