Iskra API Reference
    Preparing search index...

    Interface QueryOptions<T>

    A query's options: a statement's, and how its rows are decoded.

    interface QueryOptions<T> {
        bindDialect?: BindDialect;
        bindStyle?: OracleBindStyle;
        dropUnusedBinds?: boolean;
        rows?: RowsOption<T>;
        signal?: AbortSignal;
        timeout?: number;
    }

    Type Parameters

    • T

    Hierarchy (View Summary)

    Index
    bindDialect?: BindDialect

    How 'positional' reads :name, instead of the config's bindDialect.

    bindStyle?: OracleBindStyle

    'positional' compiles binds by name to binds by position, instead of the config's bindStyle.

    dropUnusedBinds?: boolean

    Leave out the binds by name that the SQL does not use, instead of dropUnusedBinds.

    rows?: RowsOption<T>

    Decodes each row: a rowSpec() or a Standard Schema (Zod…). A row that does not fit is a RowDecodeError.

    signal?: AbortSignal

    Cancels the statement when aborted (a QueryError ORA-01013).

    timeout?: number

    Milliseconds this statement may run, instead of callTimeout (0 for no limit). Its deadline follows: this plus deadlineGrace.