Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • MultiChainIndexedDBClient

Index

Constructors

Properties

chainIdDefault: number = 1
databases: {} = {}

Type declaration

Methods

  • add(table: string, documents: any, key: any, chainId?: number): PromiseExtended<IndexableType>
  • bulkAdd(table: string, documents: any, chainId?: number): PromiseExtended<IndexableType>
  • bulkAddWithKeys(table: string, documents: any, keys: any, chainId?: number): PromiseExtended<IndexableType | IndexableType[]>
  • bulkDelete(table: string, keys: any, chainId?: number): PromiseExtended<void>
  • bulkGet(table: string, keys: any[], chainId?: number): PromiseExtended<any[]>
  • bulkPut(table: string, documents: any, key: any, chainId?: number): PromiseExtended<IndexableType | IndexableType[]>
  • delete(table: string, key: any, chainId?: number): PromiseExtended<void>
  • each(table: string, callback: any, chainId?: number): PromiseExtended<void>
  • filter(table: string, filterFunction: any, chainId?: number): PromiseExtended<any[]>
  • get(table: string, idOrFilterObject: any, chainId?: number): PromiseExtended<any>
  • getTable(table: string, chainId?: number): any
  • listTables(chainId?: number): any
  • put(table: string, document: any, chainId?: number): PromiseExtended<IndexableType>
  • setChainIdDefault(chainId: number): void
  • toArray(table: string, chainId?: number): PromiseExtended<any[]>
  • toCollection(table: string, chainId?: number): Collection<any, IndexableType>
  • where(table: string, filter: any, clause: [string, any[]], chainId?: number): any

Generated using TypeDoc