lode/adapters/memory
An in-memory, ETS-backed adapter for tests and examples — no database required. It evaluates queries directly against stored rows.
Supported: single-source all with where/order/limit/offset, aggregate
selects (count/sum/avg/min/max), group_by with a projected
aggregate select, FROM-subqueries and uncorrelated IN/EXISTS, insert
(auto-incrementing integer id), update_all, delete_all, and
transaction (snapshot/rollback). Upserts detect conflicts only for a
Columns target (the store has no constraint catalog). Joins, HAVING,
correlated subqueries, DISTINCT, window functions (expr.over), and
CTEs (query.with_cte) are NOT evaluated here — those are exercised
through the SQL renderer and the real Postgres adapter.