Interface IELangDB

Index

Properties

Methods

Properties

optional public cache?: any

optional public delegates?: IELangDBDelegates

optional public description?: string

optional public events?: IELangDBEvents

optional public isInitialized?: boolean

optional public name?: string

optional public options?: IELangDBOptions

Methods

public _onInsert(id: string, value: string, callback?: Function)

Parameters

  • id: string
  • value: string
  • callback?: Function optional

public _onModify(id: string, value: string, callback?: Function)

Parameters

  • id: string
  • value: string
  • callback?: Function optional

public _onRemove(id: string, callback?: Function)

Parameters

  • id: string
  • callback?: Function optional

public _onSelect(id: string, callback?: Function)

Parameters

  • id: string
  • callback?: Function optional

public getIndexHash(id: string): string

Parameters

  • id: string

Returns

string

public getOptions(): IELangDBOptions

Returns

IELangDBOptions

public initialize(options?: IELangDBOptions)

Parameters

public insert(id: string, value: string, callback?: Function)

Parameters

  • id: string
  • value: string
  • callback?: Function optional

public modify(id: string, value: string, callback?: Function)

Parameters

  • id: string
  • value: string
  • callback?: Function optional

public remove(id: string, callback?: Function)

Parameters

  • id: string
  • callback?: Function optional

public select(id: string, callback?: Function)

Parameters

  • id: string
  • callback?: Function optional

public setOptions(options: IELangDBOptions)

Parameters

public sort()