monet v0.0.9 Monet.Transaction
Created via Monet.transaction/1
or Monet.transaction/2
.
Link to this section Summary
Functions
Deallocates any prepared statements that were allocated as part of this transaction
Commits the transaction
Prepares the statement and stores it in the transaction cache. See
Monet.prepare/3
.
Executes the query using the specific transaction
Rollsback the transaction
Link to this section Functions
Link to this function
close(tx)
Deallocates any prepared statements that were allocated as part of this transaction
Link to this function
commit(tx)
Commits the transaction
Link to this function
new(conn)
Link to this function
prepare(tx, name, sql)
Prepares the statement and stores it in the transaction cache. See
Monet.prepare/3
.
Link to this function
query(tx, name_or_sql, args \\ nil)
Executes the query using the specific transaction
Link to this function
rollback(tx)
Rollsback the transaction