package ocsipersist-pgsql

  1. Overview
  2. Docs
type store = string
type 'a t = {
  1. store : string;
  2. name : string;
}
val open_store : string -> string Lwt.t
val make_persistent_worker : store:string -> name:string -> default:'a -> (string, unit) Stdlib.Hashtbl.t PGOCaml.t -> 'b t Lwt.t
val make_persistent : store:string -> name:string -> default:'a -> 'b t Lwt.t
val make_persistent_lazy_lwt : store:string -> name:string -> default:(unit -> 'a Lwt.t) -> 'b t Lwt.t
val make_persistent_lazy : store:string -> name:string -> default:(unit -> 'a) -> 'b t Lwt.t
val get : 'a t -> 'b Lwt.t
val set : 'a t -> 'b -> unit Lwt.t
OCaml

Innovation. Community. Security.