Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Sanddb.Database
SourceSanddb.Database
contains the type of the database and it's internal implementation.
Database.T is the (module) type of the database. In SandDB every database instance will have this type regardles of the serializing method.
val database_read_all_records :
Lwt_io.file_name ->
(module Serializer.Generic_serializer with type t = Sanddb__.Record_t.t) ->
(module Serializer.Generic_serializer with type t = 'a) ->
(Record_id.t * 'a, exn) Base.Result.t Base.List.t Lwt.t
val filter_duplicate_record :
('a * 'b, 'c) result ->
(('a, 'd) Base.Set.t * ('a * 'b, 'c) result Base.List.t) ->
('a, 'd) Base.Set.t * ('a * 'b, 'c) result Base.List.t
val database_read_visible_records :
Lwt_io.file_name ->
(module Serializer.Generic_serializer with type t = Sanddb__.Record_t.t) ->
(module Serializer.Generic_serializer with type t = 'a) ->
(Record_id.t * 'a, exn) Base.Result.t Base.List.t Lwt.t
val database_insert_record :
Lwt_io.file_name ->
(module Serializer.Generic_serializer with type t = Sanddb__.Record_t.t) ->
(module Serializer.Generic_serializer with type t = 'a) ->
'a ->
Record_id.t Lwt.t
val database_insert_shadowing_record :
Lwt_io.file_name ->
(module Serializer.Generic_serializer with type t = Sanddb__.Record_t.t) ->
(module Serializer.Generic_serializer with type t = 'a) ->
Record_id.t ->
'a ->
Record_id.t Lwt.t
val create_database_module :
Lwt_io.file_name ->
(module Serializer.Generic_serializer with type t = Sanddb__.Record_t.t) ->
(module Serializer.Generic_serializer with type t = 'a) ->
(module T
with type t = 'a)
val create_json_database :
Lwt_io.file_name ->
(module Serializer.Json_serializer with type t = 'a) ->
(module T
with type t = 'a)
val create_biniou_database :
Lwt_io.file_name ->
(module Serializer.Biniou_serializer with type t = 'a) ->
(module T
with type t = 'a)