DBIO

ldbc.dsl.DBIO
See theDBIO companion object
trait DBIO[F[_], T]

A trait that represents the execution of a query.

Type parameters

F

The effect type

T

The result type of the query

Attributes

Companion
object
Source
DBIO.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def commit(connection: Connection[F])(using LogHandler[F]): F[T]

Functions to manage the processing of connections for writing.

Functions to manage the processing of connections for writing.

Attributes

Source
DBIO.scala
def readOnly(connection: Connection[F])(using LogHandler[F]): F[T]

Functions for managing the processing of connections in a read-only manner.

Functions for managing the processing of connections in a read-only manner.

Attributes

Source
DBIO.scala
def rollback(connection: Connection[F])(using LogHandler[F]): F[T]

Functions to manage the processing of connections, always rolling back.

Functions to manage the processing of connections, always rolling back.

Attributes

Source
DBIO.scala
def run(connection: Connection[F])(using logHandler: LogHandler[F]): F[T]

The function that actually executes the query.

The function that actually executes the query.

Value parameters

connection

The connection to the database

logHandler

The log handler

Attributes

Returns

The result of the query

Source
DBIO.scala
def transaction(connection: Connection[F])(using LogHandler[F]): F[T]

Functions to manage the processing of connections in a transaction.

Functions to manage the processing of connections in a transaction.

Attributes

Source
DBIO.scala