module

Prostore::Adapter::SQLite::Introspect

SQLite introspection. Reads sqlite_master (for table names and the original CREATE TABLE SQL — useful for partial-index WHERE clauses that PRAGMA doesn't surface) and the pragma_* table-valued functions for column / index / FK details.

Instance methods

columns(executor : Prostore::Adapter::Base::Executor, table : String) : Array(LiveColumn)
Source
foreign_keys(executor : Prostore::Adapter::Base::Executor, table : String) : Array(LiveForeignKey)
Source
indexes(executor : Prostore::Adapter::Base::Executor, table : String) : Array(LiveIndex)
Source
table(executor : Prostore::Adapter::Base::Executor, name : String) : LiveTable
Source

User tables (excludes sqlite_* internals; the planner caller filters out our prostore_* bookkeeping).

Source