Class CollectionAPI<T>Internal

Type Parameters

Constructors

Properties

api: API
collectionName: string
collectionOptions: CollectionOptions
contextOptions: ContextOptions

Methods

  • Parameters

    • filter: FilterObject = {}
    • options: {
          endOffset?: number;
          orderBy?: OrderBy;
          startOffset?: number;
      } = {}
      • Optional endOffset?: number
      • Optional orderBy?: OrderBy
      • Optional startOffset?: number

    Returns Promise<T[]>

  • Parameters

    • collectionQuery: (() => Promise<any>)
        • (): Promise<any>
        • Returns Promise<any>

    Returns Promise<any>