kysely
    Preparing search index...

    Interface PGlite

    This interface is the subset of the PGlite instance that kysely needs.

    We don't use the type from @electric-sql/pglite here to not have a dependency to it.

    https://pglite.dev/docs/api

    interface PGlite {
        closed: boolean;
        ready: boolean;
        waitReady: Promise<void>;
        close(): Promise<void>;
        query<T>(
            query: string,
            params?: any[],
            options?: PGliteQueryOptions,
        ): Promise<PGliteQueryResults<T>>;
        transaction<T>(callback: (tx: PGliteTransaction) => Promise<T>): Promise<T>;
    }
    Index

    Properties

    closed: boolean
    ready: boolean
    waitReady: Promise<void>

    Methods