columna API reference - v0.4.1
    Preparing search index...

    Type Alias SqlClient

    Duck-typed client: any object with query(sql, params?) → rows. Useful for custom pools, ORMs, or tests.

    type SqlClient = {
        close?: () => void | Promise<void>;
        query: (
            sql: string,
            params?: SqlParams,
        ) => Promise<Record<string, unknown>[]>;
    }
    Index
    close?: () => void | Promise<void>
    query: (sql: string, params?: SqlParams) => Promise<Record<string, unknown>[]>