DuckDB Terminal - v0.2.0
    Preparing search index...

    Interface PaginationContext

    Interface for the terminal context needed by pagination

    interface PaginationContext {
        backspace: () => string;
        clearInput: () => void;
        displayResult: (result: QueryResult, showTiming: boolean) => void;
        getDatabase: () => Database;
        getInputContent: () => string;
        insertChar: (char: string) => string;
        write: (text: string) => void;
        writeln: (text: string) => void;
    }
    Index

    Properties

    backspace: () => string

    Backspace in input buffer

    clearInput: () => void

    Clear input buffer

    displayResult: (result: QueryResult, showTiming: boolean) => void

    Display query result

    getDatabase: () => Database

    Get the database instance

    getInputContent: () => string

    Get input buffer content

    insertChar: (char: string) => string

    Insert character into input buffer

    write: (text: string) => void

    Write text to terminal (no newline)

    writeln: (text: string) => void

    Write text to terminal with newline