@photostructure/sqlite
    Preparing search index...

    Interface BackupOptions

    Options for the backup() function.

    interface BackupOptions {
        progress?: (
            info: { remainingPages: number; totalPages: number },
        ) => void;
        rate?: number;
        source?: string;
        target?: string;
    }
    Index

    Properties

    progress?: (info: { remainingPages: number; totalPages: number }) => void

    Callback function that will be called with progress information.

    rate?: number

    Number of pages to be transmitted in each batch of the backup.

    100
    
    source?: string

    Name of the source database. Can be 'main' or any attached database.

    'main'
    
    target?: string

    Name of the target database. Can be 'main' or any attached database.

    'main'