Plasma GitLab Archive
Projects Blog Knowledge

Plasma Project:
Home 
Manual 
FAQ 
Slides 
Perf 
Releases 

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 commit_and_continue : unit -> unit Uq_engines.engine
Commits the transaction (prepared or not), but does not return the transaction
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
method is_returned : bool
whether the transaction has been returned
This web site is published by Informatikbüro Gerd Stolpmann
Powered by Caml