Interface DuckDBBindings

interface DuckDBBindings {
    cancelPendingQuery(conn): boolean;
    closePrepared(conn, statement): void;
    collectFileStatistics(file, enable): void;
    connect(): DuckDBConnection;
    copyFileToBuffer(name): Uint8Array;
    copyFileToPath(name, path): void;
    createPrepared(conn, text): number;
    createScalarFunction(conn, name, returns, func): void;
    disconnect(conn): void;
    dropFile(name): void;
    dropFiles(): void;
    exportFileStatistics(file): FileStatistics;
    fetchQueryResults(conn): Uint8Array;
    flushFiles(): void;
    getFeatureFlags(): number;
    getTableNames(conn, text): string[];
    getVersion(): string;
    globFiles(path): WebFile[];
    insertArrowFromIPCStream(conn, buffer, options?): void;
    insertCSVFromPath(conn, path, options): void;
    insertJSONFromPath(conn, path, options): void;
    instantiate(onProgress): Promise<DuckDBBindings>;
    open(config): void;
    pollPendingQuery(conn): null | Uint8Array;
    registerFileBuffer(name, buffer): void;
    registerFileHandle<HandleType>(name, handle, protocol, directIO): void;
    registerFileText(name, text): void;
    registerFileURL(name, url, proto, directIO): void;
    reset(): void;
    runPrepared(conn, statement, params): Uint8Array;
    runQuery(conn, text): Uint8Array;
    sendPrepared(conn, statement, params): Uint8Array;
    startPendingQuery(conn, text): null | Uint8Array;
    tokenize(text): ScriptTokens;
}

Implemented by

Methods

Generated using TypeDoc