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

    Function encodeSqliteString

    • A SQLite literal for one decoded value.

      A value carrying a NUL becomes CAST(x'..' AS TEXT), because SQLite's parser ends a string literal at the NUL and the rest of the row becomes syntax. That is the same refusal dumpDatabase() makes in drupflare/worker, arrived at from the same property of the parser rather than copied.

      Parameters

      • value: string

      Returns string