Interface IFindOneOptions

Options for finding one single entity.

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

Hierarchy (view full)

Properties

fields?: Nilable<any[]>

Custom list of fields / columns.

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