Kraken
Type-safe query builder for PostgreSQL
Guide
Getting started
Install Kraken, define a table, run the first typed query.
Schema
Domain records, column records, ColumnSet impls, generated columns, insert shapes, custom codecs.
Repositories
Connection-bound handlers, structured query logging, nominal multi-database effects, transactions, and test backends.
Queries
from, select, joins, dynamic filters, grouping, subqueries, CTEs, and execution.
Expressions
Predicates, SQL functions, aggregates, arrays, JSONB, raw SQL, and window functions.
Writes
insert, returning, bulk insert, update, delete, upsert, update_all, and transactions.
Relations
has_many, belongs_to, preload, preload_where, nullable joins, anti-joins, and full joins.