Ducklings API Documentation
    Preparing search index...

    Interface SanitizeSqlOptions

    Options for SQL sanitization.

    interface SanitizeSqlOptions {
        allowCopyTo?: boolean;
        allowExportDatabase?: boolean;
        allowPragma?: boolean;
        allowSecretsFunction?: boolean;
    }
    Index

    Properties

    allowCopyTo?: boolean

    Allow COPY ... TO statements (default: false)

    allowExportDatabase?: boolean

    Allow EXPORT DATABASE statements (default: false)

    allowPragma?: boolean

    Allow PRAGMA statements (default: false)

    allowSecretsFunction?: boolean

    Allow duckdb_secrets() function (default: false)