module Action:sig
..end
type
t =
| |
Set of |
|||
| |
Unset of |
|||
| |
Sequence of |
|||
| |
Check of |
(* |
An action is a transaction that (attempts) to modify the database.
| *) |
val set : ?collection:string -> key:string -> string -> t
set ~key v
will add or set the value v
for the
key key
, optionally in the collection collection
.val seq : t list -> t
val contains : ?collection:string -> key:string -> string -> t
key
is set in the DB and has the given
value.val is_not_set : ?collection:string -> string -> t
key
is not set in the DB.val unset : ?collection:string -> string -> t
val to_string : t -> string