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
Parameters
filters
FilterableOrderPropsThe filters to apply on the retrieved order.
filters
FilterableOrderPropsconfig
FindConfig<OrderDTO>The configurations determining how the order is retrieved. Its properties, such as select
or relations
, accept the
attributes or relations associated with a order.
config
FindConfig<OrderDTO>select
or relations
, accept the
attributes or relations associated with a order.Returns
The list of {return type}(s) along with their total count.
Was this section helpful?