package ezjs_idb

  1. Overview
  2. Docs

Module Ezjs_idb.StoreSource

Parameters

module K : Tr_sig
module D : Tr_sig

Signature

Sourcetype keys =
  1. | K of K.t
  2. | KR of K.js Types.iDBKeyRange Ezjs_min.t
Sourceval create : ?options:??? -> Types.iDBDatabase Ezjs_min.t -> string -> store
Sourceval store : ?mode:??? -> Types.iDBDatabase Ezjs_min.t -> string -> store
Sourceval add : ?callback:??? -> ?error:??? -> ?key:??? -> store -> D.t -> unit
Sourceval put : ?callback:??? -> ?error:??? -> ?key:??? -> store -> D.t -> unit
Sourceval range : ?olower:??? -> ?oupper:??? -> ?lower:??? -> ?upper:??? -> unit -> keys
Sourceval count : ?error:??? -> ?key:??? -> store -> (int -> unit) -> unit
Sourceval get : ?error:??? -> (K.js, D.js) Types.iDBObjectStore Ezjs_min.t -> (D.t -> unit) -> keys -> unit
Sourceval get_all : ?error:??? -> ?key:??? -> ?count:??? -> (K.js, D.js) Types.iDBObjectStore Ezjs_min.t -> (D.t list -> unit) -> unit
Sourceval get_key : ?error:??? -> (K.js, 'a) Types.iDBObjectStore Ezjs_min.t -> (K.t -> unit) -> keys -> unit
Sourceval get_all_keys : ?error:??? -> ?key:??? -> ?count:??? -> (K.js, 'a) Types.iDBObjectStore Ezjs_min.t -> (K.t list -> unit) -> unit
Sourceval delete : ?callback:??? -> ?error:??? -> (K.js, 'a) Types.iDBObjectStore Ezjs_min.t -> keys -> unit
Sourceval iter : ?error:??? -> ?key:??? -> ?direction:??? -> (K.js, D.js) Types.iDBObjectStore Ezjs_min.t -> (K.t -> D.t -> unit) -> unit
Sourceval fold : ?error:??? -> ?key:??? -> ?direction:??? -> (K.js, D.js) Types.iDBObjectStore Ezjs_min.t -> (K.t -> D.t -> 'a -> 'a) -> 'a -> ('a -> unit) -> unit
Sourceval iter_keys : ?error:??? -> ?key:??? -> ?direction:??? -> (K.js, D.js) Types.iDBObjectStore Ezjs_min.t -> (K.t -> unit) -> unit
Sourceval fold_keys : ?error:??? -> ?key:??? -> ?direction:??? -> (K.js, D.js) Types.iDBObjectStore Ezjs_min.t -> (K.t -> 'a -> 'a) -> 'a -> ('a -> unit) -> unit
Sourceval clear : ?error:??? -> ?callback:??? -> (K.js, D.js) Types.iDBObjectStore Ezjs_min.t -> unit
Sourceval create_index : ?options:??? -> (K.js, D.js) Types.iDBObjectStore Ezjs_min.t -> string -> string -> (K.js, D.js) Types.iDBIndex Ezjs_min.t
Sourceval delete_index : (K.js, D.js) Types.iDBObjectStore Ezjs_min.t -> string -> unit