feat(query): add Query, MustQuery, and UpdateOne helpers

Adds scan-into-dest query helpers and update-one-row semantics with
Context variants, tests, and documentation updates.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-29 18:24:29 -07:00
parent cc44931ea9
commit fbb9c74aab
7 changed files with 117 additions and 4 deletions
+3 -2
View File
@@ -8,8 +8,9 @@
//
// # Query and mutation helpers
//
// [Fetch], [FetchOne], [Insert], [Update], [Delete], and their Must* and Context
// variants wrap Jet [Statement] execution with consistent error semantics.
// [Fetch], [FetchOne], [Query], [Insert], [Update], [Delete], and their Must*
// and Context variants wrap Jet [Statement] execution with consistent error
// semantics. [UpdateOne] requires at least one row affected.
// [WithTx] runs a function inside a SQL transaction.
//
// # Jet column utilities