Plasma GitLab Archive
Projects Blog Knowledge

Class type Nn_db.transaction


class type transaction = object .. end

method connection : Pfs_db.rw_async_connection
The connection. This method fails if the transaction is already done
method ro_connection : Pfs_db.ro_async_connection
The same connection coerced to read-only
method event_system : Unixqueue.event_system
The event system this transaction uses
method prepare : unit -> unit Uq_engines.engine
Prepares the transaction for commit
method commit : unit -> unit Uq_engines.engine
Commits the transaction (prepared or not), and returns
method rollback : unit -> unit Uq_engines.engine
Rolls the transaction back, and returns
method return : unit -> unit
return the transaction to the pool or closes it
This web site is published by Informatikbüro Gerd Stolpmann
Powered by Caml