Transaction

io.taig.sql.ext.skunk.Transaction
See theTransaction companion object
final class Transaction[F[_]] extends Transaction[F]

Attributes

Companion
object
Graph
Supertypes
trait Transaction[F]
class Object
trait Matchable
class Any

Members list

Value members

Inherited methods

def mapK[G[_]](fk: FunctionK[F, G]): Transaction[G]

Transform this Transaction by a given FunctionK.

Transform this Transaction by a given FunctionK.

Attributes

Inherited from:
Transaction

Concrete fields

val session: Session[F]
val underlying: Transaction[F]

Exports

Defined exports

final type Savepoint = Savepoint
Exported from Transaction

Existential type for savepoints within this transaction block.

Existential type for savepoints within this transaction block.

Attributes

def status: F[TransactionStatus]
Exported from Transaction

Current transaction status. It is not usually necessary to check because transactions will be committed or rolled back automatically, but if you are committing manually and your logic is sufficiently complex it may be helpful.

Current transaction status. It is not usually necessary to check because transactions will be committed or rolled back automatically, but if you are committing manually and your logic is sufficiently complex it may be helpful.

Attributes