Xqlite.PragmaSpec (Xqlite v0.7.0)
View SourceDescribes the capabilities and validation rules for a single SQLite PRAGMA.
Used as the value type in the Xqlite.Pragma.schema/0 map. Each struct fully
describes how a PRAGMA can be read, written, validated, and post-processed.
Fields
return_type— what GET returns::int,:text,:bool,:list, or:nothingread_arities— which arities support GET:[0],[1],[0, 1], or[]schema_prefix— whetherPRAGMA db_name.pragma_nameis allowedwritable— whether SET is supportedvalid_values— pre-flight validation for SET:Range.t(),[term()], ornilint_mapping— maps raw integer GET results to atoms (e.g.%{0 => :none})