IQuerableReader<T>

Interface for data processing components that can query a list of data items.

Description

The IQuerableReader interface is used by data processing components that can query a list of data items.

Instance methods

getListByQuery

Gets a list of data items using a query string.

getListByQuery(correlationId: string, query: string, sort: SortParams): Promise<T[]>

  • context: IContext - (optional) a context to trace execution through a call chain.
  • query: string - (optional) query string
  • sort: SortParams - (optional) sorting parameters
  • returns: Promise<T[]> - list of items