scalasql.core.DbApi
See theDbApi companion trait
object DbApi
Attributes
Members list
Type members
Classlikes
class Impl(connection: Connection, config: Config, dialect: DialectConfig, defaultListeners: Iterable[TransactionListener], autoCommit: Boolean) extends Txn
trait Savepoint
A SQL SAVEPOINT
, with an ID, name, and the ability to roll back to when it was created
A SQL SAVEPOINT
, with an ID, name, and the ability to roll back to when it was created
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class SavepointImpl
class SavepointImpl(savepoint: Savepoint, rollback0: () => Unit) extends Savepoint
Attributes
- Supertypes
trait TransactionListener
A listener that can be added to a DbApi.Txn to be notified of commit and rollback events.
A listener that can be added to a DbApi.Txn to be notified of commit and rollback events.
The default implementations of these methods do nothing, but you can override them to implement your own behavior.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
An interface to a SQL database transaction, allowing you to run queries, create savepoints, or roll back the transaction.
Value members
Concrete methods
def renderSql[Q, R](query: Q, config: Config, dialectConfig: DialectConfig)(implicit qr: Queryable[Q, R]): String
def unpackQueryable[R, Q](query: Q, qr: Queryable[Q, R], config: Config, dialectConfig: DialectConfig): Flattened
In this article