MCPcopy Create free account
hub / github.com/asg017/sqlite-loadable-rs / result_error_code

Function result_error_code

src/api.rs:331–333  ·  view source on GitHub ↗

Calls [`sqlite3_result_error_code`](https://www.sqlite.org/c3ref/result_blob.html) to represent that a function returns xx with the given value.

(context: *mut sqlite3_context, code: i32)

Source from the content-addressed store, hash-verified

329/// Calls [`sqlite3_result_error_code`](https://www.sqlite.org/c3ref/result_blob.html)
330/// to represent that a function returns xx with the given value.
331pub fn result_error_code(context: *mut sqlite3_context, code: i32) {
332 unsafe { sqlite3ext_result_error_code(context, code) };
333}
334
335/// Calls [`result_int`] with `value=1` for true, or `value=0` for false.
336pub fn result_bool(context: *mut sqlite3_context, value: bool) {

Callers 1

x_func_wrapperFunction · 0.85

Calls 1

Tested by

no test coverage detected