TransactionImpl

Constructors

this
this(DbConnection conn, AsyncVoidHandler disposeHandler)
Undocumented in source.

Members

Aliases

prepare
alias prepare = SqlConnectionBase!(TransactionImpl).prepare
Undocumented in source.
query
alias query = SqlClientBase!(TransactionImpl).query
Undocumented in source.

Functions

abortHandler
Transaction abortHandler(AsyncVoidHandler handler)
Undocumented in source. Be warned that the author may not have intended to support it.
close
void close()
Undocumented in source. Be warned that the author may not have intended to support it.
commit
void commit()
Undocumented in source. Be warned that the author may not have intended to support it.
commit
void commit(AsyncVoidHandler handler)
Undocumented in source. Be warned that the author may not have intended to support it.
prepare
Transaction prepare(string sql, PreparedQueryHandler handler)
Undocumented in source. Be warned that the author may not have intended to support it.
query
TransactionImpl query(string sql, RowSetHandler handler)
Undocumented in source. Be warned that the author may not have intended to support it.
rollback
void rollback()
Undocumented in source. Be warned that the author may not have intended to support it.
rollback
void rollback(AsyncVoidHandler handler)
Undocumented in source. Be warned that the author may not have intended to support it.
schedule
void schedule(ICommand cmd)
Undocumented in source. Be warned that the author may not have intended to support it.
status
int status()
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Transaction

prepare
Transaction prepare(string sql, PreparedQueryHandler handler)

Create a prepared query.

commit
void commit()

Commit the current transaction.

commit
void commit(AsyncVoidHandler handler)

Like {@link #commit} with an handler to be notified when the transaction commit has completed

rollback
void rollback()

Rollback the current transaction.

rollback
void rollback(AsyncVoidHandler handler)

Like {@link #rollback} with an handler to be notified when the transaction rollback has completed

abortHandler
Transaction abortHandler(AsyncVoidHandler handler)

Set an handler to be called when the transaction is aborted.

query
Transaction query(string sql, RowSetHandler handler)
Undocumented in source.
close
void close()

Rollback the transaction and release the associated resources.

status
int status()
Undocumented in source.

Meta