ADBC JavaScript Driver Manager
    Preparing search index...

    Variable IngestModeConst

    IngestMode: {
        Append: "adbc.ingest.mode.append";
        Create: "adbc.ingest.mode.create";
        CreateAppend: "adbc.ingest.mode.create_append";
        Replace: "adbc.ingest.mode.replace";
    } = ...

    Ingestion modes for the ingest convenience method.

    These correspond to the adbc.ingest.mode.* option values in the ADBC spec.

    Type Declaration

    • ReadonlyAppend: "adbc.ingest.mode.append"

      Append to an existing table. Fails if the table does not exist.

    • ReadonlyCreate: "adbc.ingest.mode.create"

      Create a new table and insert. Fails if the table already exists.

    • ReadonlyCreateAppend: "adbc.ingest.mode.create_append"

      Create the table if it does not exist, then append.

    • ReadonlyReplace: "adbc.ingest.mode.replace"

      Drop the existing table (if any) and recreate it, then insert.

    await conn.ingest('my_table', data, { mode: IngestMode.Append })