id (uuid), created_at, and updated_at -
never add those columns yourself.
CRUD
Filters and modifiers
- Filters chain:
.eq().neq().gt().gte().lt().lte().like().ilike().in().is() - Modifiers:
.order().limit().range().single().maybeSingle() - Postgres functions:
backend.database.rpc("fn_name", { arg: 1 })
Row-level security
Tables created with RLS on (the default) and auser_id uuid column scope
rows to the signed-in user automatically - no policy code needed. After
sign-in, queries just return the right rows.