Member Junction
    Preparing search index...

    Interface for verifying SQL against a target database. Consumers implement this to plug in their database driver.

    interface IDatabaseVerifier {
        Close(): Promise<void>;
        Verify(sql: string): Promise<string>;
    }
    Index

    Methods

    Methods

    • Execute a SQL statement against the target database to verify it works. Should NOT commit changes — use a transaction that rolls back.

      Parameters

      • sql: string

      Returns Promise<string>

      null if successful, error message if failed