Skip to main content
type alias SqlFunctionResult
import { type SqlFunctionResult } from "";

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.

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