Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
type alias SqlFunctionResult
import { type SqlFunctionResult } from "https://deno.land/x/sqlite@v3.9.1/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