package ocsipersist-pgsql

  1. Overview
  2. Docs
Persistent key/value storage for OCaml using PostgreSQL

Install

Dune Dependency

Authors

Maintainers

Sources

2.0.0.tar.gz
md5=b96e2fa070038fc9ffa9ab7551ed5637
sha512=f5aca65bee735f90047c7457d4e5a9965a71a70df14366dd7fea2d494b5397702d5d5b0d677dbe0524368e9ae9c124c281d39ec3a99b3c79ed60ae439f93ec84

doc/src/ocsipersist-pgsql.settings/ocsipersist_settings.ml.html

Source file ocsipersist_settings.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
let host = ref None
let port = ref None
let user = ref None
let password = ref None
let database = ref "ocsipersist"
let unix_domain_socket_dir = ref None
let size_conn_pool = ref 16
let set_host (s : string) = host := Some s
let set_port (s : int) = port := Some s
let set_user (s : string) = user := Some s
let set_password (s : string) = password := Some s
let set_database (s : string) = database := s
let set_unix_domain_socket_dir (s : string) = unix_domain_socket_dir := Some s
let set_connexion_pool_size (s : int) = size_conn_pool := s
OCaml

Innovation. Community. Security.