Ducklings API Documentation
    Preparing search index...

    Interface SanitizeResult

    Result of SQL sanitization check.

    interface SanitizeResult {
        matchedPattern?: string;
        reason?: string;
        safe: boolean;
        sql: string;
    }
    Index

    Properties

    matchedPattern?: string

    The pattern that matched (if unsafe)

    reason?: string

    Reason why the SQL was blocked (if unsafe)

    safe: boolean

    Whether the SQL is considered safe

    sql: string

    The original SQL string