Interface IFindOptions

Options for finding entities.

interface IFindOptions {
    fields?: Nilable<any[]>;
    limit?: Nilable<number>;
    offset?: Nilable<number>;
    params?: any;
    sort?: any;
    where?: any;
}

Hierarchy (view full)

Properties

fields?: Nilable<any[]>

Custom list of fields / columns.

limit?: Nilable<number>

The maximum number of items. Default: no limit

offset?: Nilable<number>

The number of items to skip. Default: 0

params?: any

An object that represents the parameters for the 'where' part.

sort?: any

An object, which is used to sort the result.

where?: any

An object, which is used to filter the result.

Generated using TypeDoc