Skip to main content
Skip to main content

listAndCount - Order Module Reference

This documentation provides a reference to the listAndCount method. This belongs to the Order Module.

This method retrieves a paginated list of {return type} along with the total count of available {return type}(s) satisfying the provided filters.

Example

await orderModuleService.listAndCount();

Parameters

The filters to apply on the retrieved order.
The configurations determining how the order is retrieved. Its properties, such as select or relations, accept the attributes or relations associated with a order.
sharedContextContext
A context used to share resources, such as transaction manager, between the application and the module.

Returns

PromisePromise<[OrderDTO[], number]>Required
The list of {return type}(s) along with their total count.
Was this section helpful?