DbApi

scalasql.core.DbApi
See theDbApi companion trait
object DbApi

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
DbApi.type

Members list

Type members

Classlikes

class Impl(connection: Connection, config: Config, dialect: DialectConfig, defaultListeners: Iterable[TransactionListener], autoCommit: Boolean) extends Txn

Attributes

Supertypes
trait Txn
trait DbApi
trait AutoCloseable
class Object
trait Matchable
class Any
Show all
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 Object
trait Matchable
class Any
Known subtypes
class SavepointImpl(savepoint: Savepoint, rollback0: () => Unit) extends Savepoint

Attributes

Supertypes
trait Savepoint
class Object
trait Matchable
class Any

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 Object
trait Matchable
class Any
trait Txn extends DbApi

An interface to a SQL database transaction, allowing you to run queries, create savepoints, or roll back the transaction.

An interface to a SQL database transaction, allowing you to run queries, create savepoints, or roll back the transaction.

Attributes

Supertypes
trait DbApi
trait AutoCloseable
class Object
trait Matchable
class Any
Known subtypes
class Impl

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