drupflare/drangler - v0.1.0
    Preparing search index...

    Interface ConvertOptions

    interface ConvertOptions {
        from: Dialect;
        maxStatementChars?: number;
        skipUnsupported?: boolean;
        splitRows?: boolean;
        to: Dialect;
    }
    Index
    from: Dialect
    maxStatementChars?: number

    Refuse any statement wider than this many characters.

    Defaults to the Durable Object ceiling when converting INTO SQLite, and to no limit otherwise. Measured rather than assumed: converting a real Drupal 11 dump and loading it into a Durable Object fails with SQLITE_TOOBIG on cache_container, whose single row is far over the limit. Without this the converter emits a dump that looks complete, replays fine into a plain SQLite, and dies part-way through the destination that actually matters.

    skipUnsupported?: boolean

    record an unconvertible statement and continue, instead of refusing the whole dump

    splitRows?: boolean

    Emit one INSERT per row instead of carrying a multi-row VALUES list through.

    On by default into SQLite, because a Durable Object refuses statement text over 100,000 characters and a mysqldump packs rows until it hits its own megabyte-scale limit.