Support subtype.

This commit is contained in:
Nuno Cruces
2025-07-04 17:24:45 +01:00
parent f37bca6a80
commit b0f8ff44a5
12 changed files with 84 additions and 76 deletions

View File

@@ -227,6 +227,14 @@ func (ctx Context) ResultError(err error) {
}
}
// ResultSubtype sets the subtype of the result of the function.
//
// https://sqlite.org/c3ref/result_subtype.html
func (ctx Context) ResultSubtype(t uint) {
ctx.c.call("sqlite3_result_subtype",
stk_t(ctx.handle), stk_t(uint32(t)))
}
// VTabNoChange may return true if a column is being fetched as part
// of an update during which the column value will not change.
//