Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IQuerableReader<T>

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

Type parameters

  • T

Hierarchy

  • IQuerableReader

Index

Methods

Methods

getListByQuery

  • getListByQuery(correlation_id: string, query: string, sort: SortParams, callback: function): void
  • Gets a list of data items using a query string.

    Parameters

    • correlation_id: string

      (optional) transaction id to trace execution through call chain.

    • query: string

      (optional) a query string

    • sort: SortParams

      (optional) sort parameters

    • callback: function

      callback function that receives list of items or error.

        • (err: any, items: T[]): void
        • Parameters

          • err: any
          • items: T[]

          Returns void

    Returns void

Generated using TypeDoc