Skip to main content
Go to Latest
type alias SqlFunctionResult
import { type SqlFunctionResult } from "https://deno.land/x/sqlite@v3.7.2/mod.ts";

Values a user-defined SQL function is allowed to return.

These correspond to how QueryParameters are converted when bound to queries. Additionally a user-defined function may return void (e.g. as in return;), in which case a NULL value is returned on the SQL side.

definition:
| void
| boolean
| number
| bigint
| string
| null
| undefined
| Date
| Uint8Array