Loading...
Was this page helpful?
An object that is used to configure how an entity is retrieved from the database. It accepts as a typed parameter an Entity
class,
which provides correct typing of field names in its properties.
Entity
objectOptionalselect
(keyof Entity | string & object)[]Optionalskip
null | numberOptionaltake
null | numberOptionalrelations
string[]OptionalASC
to sort retrieved records in an ascending order, or DESC
to sort retrieved records in a descending order.withDeleted
booleanOptionalSoftDeletableEntity
class.filters
Record<string, any>Optionaloptions
Record<string, any>Optional