Ocsigen

Ocsipersist

Home

Doc

Blog

Eliom

Js_of_ocaml

Server

Lwt

Tyxml

Start

  • Home
  • Doc
  • Eliom
  • Js_of_ocaml
  • Server
  • Lwt
  • Tyxml
  • Toolkit
  • Start
  • Ocsipersist
  • ReactiveData
  • i18n
  • Wodoc
  • Other projects
  • Research papers
  • Who does Ocsigen?
  • Contributing
  • Blog
  • Installation
  • Source code

On this page

  • Parameters
  • Signature

Ocsipersist

  • Overview
  • Ocsipersist (frontend)
  • Ocsipersist_lib (signatures)

Backends

  • SQLite
  • DBM
  • PostgreSQL

Server config

  • SQLite config
  • DBM config
  • PostgreSQL config

On this page

  • Parameters
  • Signature

Ocsipersist

  • Overview
  • Ocsipersist (frontend)
  • Ocsipersist_lib (signatures)

Backends

  • SQLite
  • DBM
  • PostgreSQL

Server config

  • SQLite config
  • DBM config
  • PostgreSQL config

Module Ocsipersist_lib.Ref

Parameters

module Store : Sigs.STORE

Signature

val store : Store.store Lwt.t lazy_t
type 'a t =
  1. | Ref of 'a Stdlib.ref
  2. | Per of 'a Store.t Lwt.t
val ref : ?persistent:string -> 'a -> 'a t
val get : 'a t -> 'a Lwt.t
val set : 'a t -> 'a -> unit Lwt.t