IFilteredPageReader

Interface for data processing components that can retrieve a page of data items by a filter.

Description

The IFilteredPageReader[T any] interface is used by data processing components that can retrieve a page of data items through the use of a filter.

  • T any type

Methods

GetPageByFilter

Gets a page of data items using filter parameters.

GetPageByFilter(ctx context.Context, correlation_id string, filter *data.FilterParams, paging *data.PagingParams, sort *data.SortParams) (page DataPage[T], err error)