ClientSession

abstract
class ClientSession[F[_]]
Companion
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def abortTransaction: F[Unit]

Abort a transaction in the context of this session. A transaction can only be aborted if one has first been started.

Abort a transaction in the context of this session. A transaction can only be aborted if one has first been started.

def commitTransaction: F[Unit]

Commit a transaction in the context of this session. A transaction can only be commmited if one has first been started.

Commit a transaction in the context of this session. A transaction can only be commmited if one has first been started.

Returns true if there is an active transaction on this session, and false otherwise

Returns true if there is an active transaction on this session, and false otherwise

Returns

true if there is an active transaction on this session

def startTransaction(options: TransactionOptions): F[Unit]

Start a transaction in the context of this session with the given transaction options. A transaction can not be started if there is already an active transaction on this session.

Start a transaction in the context of this session with the given transaction options. A transaction can not be started if there is already an active transaction on this session.

Value Params
options

the options to apply to the transaction

Gets the transaction options. If session has no active transaction, then None is returned

Gets the transaction options. If session has no active transaction, then None is returned

Returns

the transaction options

def underlying: ClientSession

Concrete methods

def startTransaction: F[Unit]