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

Deallocates any prepared statements that were allocated as part of this transaction

Commits the transaction

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

Rollsback the transaction

Link to this macro

transaction(args \\ [])

(macro)
Link to this macro

transaction(record, args)

(macro)