Expand description
SQLite database inspection and paginated table reads.
Structs§
- Initial
Inspection - Initial inspection payload used when opening a database in the UI.
Functions§
- compare_
sql_ values - Compares two SQLite values using a stable ordering compatible with diff merging.
- compare_
value_ slices - Compares two value slices using SQLite-like type ordering.
- for_
each_ row - Iterates all rows from a table, invoking a callback for each row without materializing the
full result set. This is the bounded-memory alternative to
load_all_rows. - identity_
columns - Returns the best-effort identifier columns for diffing a table.
- inspect_
database - Reads database schema information, table counts, and view definitions.
- inspect_
database_ with_ page - Reads the schema summary plus the initial visible table page for a database.
- load_
all_ rows - Loads all rows from a table in column order.
- open_
read_ only - Opens a SQLite connection in read-only mode.
- quote_
identifier - Quotes a SQLite identifier.
- read_
table_ page - Reads a page of table rows with optional sorting.
- read_
table_ page_ for_ table - Reads a page of table rows using a preloaded table definition.
- read_
value_ row - Converts a SQLite row reference into Patchworks values.
- sql_
value_ from_ ref - Converts a raw SQLite value into a Patchworks value.