orm

The ORM library provides a storage backend to persist ML values.
IN THIS PACKAGE
Module Orm . Sql_cache
val global_count : int ref
val clean_list : ( unit -> unit ) list ref
val flush_list : ( string -> unit ) list ref
val sync_list : ( string -> string -> int64 -> unit ) list ref
val clean_all : Sql_backend.env -> string -> unit
val flush_all : Sql_backend.env -> string -> unit
val sync_all : Sql_backend.env -> string -> string -> int64 -> unit
module Trigger : sig ... end
type (!'a, !'b) t = {
type_name : string;
tbl : ( string, 'a ) Hashtbl.t;
create : int -> 'a;
to_weakid : 'a -> 'b -> int64;
of_weakid : 'a -> int64 -> 'b list;
mem : 'a -> 'b -> bool;
mem_weakid : 'a -> int64 -> bool;
add : 'a -> 'b -> int64 -> unit;
remove : 'a -> 'b -> unit;
replace : 'a -> 'b -> int64 -> unit;
dump : 'a -> string;
}
val string_of_t : ( 'a -> string ) -> ( 'a, 'b ) t -> string
module type Sig = sig ... end
module Make (H : Hashtbl.HashedType) : sig ... end
val with_table : Sql_backend.env -> ( 'a, 'b ) t -> string -> ( 'a -> 'c ) -> 'c
val debug : Sql_backend.env -> 'a -> string -> string -> unit
val to_weakid : Sql_backend.env -> ( 'a, 'b ) t -> string -> 'b -> int64
val of_weakid : Sql_backend.env -> ( 'a, 'b ) t -> string -> int64 -> 'b list
val mem : Sql_backend.env -> ( 'a, 'b ) t -> string -> 'b -> bool
val mem_weakid : Sql_backend.env -> ( 'a, 'b ) t -> string -> int64 -> bool
val add : Sql_backend.env -> ( 'a, 'b ) t -> string -> 'b -> int64 -> unit
val remove : Sql_backend.env -> ( 'a, 'b ) t -> string -> 'b -> unit
val replace : Sql_backend.env -> ( 'a, 'b ) t -> string -> 'b -> int64 -> unit