Rindle

API index and search · Build metadata

Supporting declarations

packages/sql-client/src/value.ts. These declarations explain referenced types. Only package-page symbols are package exports.

Exact source

encodeSqlValue

/** Encode one public SDK value into the frozen v1 tagged JSON representation. */
export declare function encodeSqlValue(value: SqlValue): WireSqlValue;

decodeSqlValue

/** Decode one frozen v1 tagged JSON value using the client's integer policy. */
export declare function decodeSqlValue(value: unknown, intMode?: IntMode): SqlValue;

encodeArgs

export declare function encodeArgs(args: SqlArgs): WireArgs;

encodeStatement

export declare function encodeStatement(statement: Statement | string): WireStatement;