prorm API Reference
    Preparing search index...

    Interface ExportOptions

    interface ExportOptions {
        where?: Record<string, any>;
        include?: any[];
        format?: ExportFormat;
        excludeForRole?: string;
        limit?: number;
        order?: any[];
    }

    Hierarchy (View Summary)

    Index
    where?: Record<string, any>

    Where clause to select records

    include?: any[]

    Include associated models

    format?: ExportFormat

    Output format. Default: 'json'

    excludeForRole?: string

    Roles whose fields should be excluded from export

    limit?: number

    Maximum records to export. Default: unlimited

    order?: any[]

    Order clause