Skip to content

Commit

Permalink
Add ZIO module providing connect and transact mechanism adapted t…
Browse files Browse the repository at this point in the history
…o ZIO
  • Loading branch information
guizmaii committed Oct 10, 2024
1 parent be71df8 commit 39d90ea
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions magnum-zio/src/main/scala/com/augustnagro/magnum/zio/zio.scala
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import scala.util.control.NonFatal

/** Executes a given query on a given DataSource
*
* Re-implementation of
* [[com.augustnagro.magnum.connect(dataSource: DataSource)]] for ZIO
* Re-implementation for ZIO of
* [[com.augustnagro.magnum.connect(dataSource: DataSource)]]
*
* Usage:
* {{{
Expand All @@ -23,8 +23,8 @@ def connect[A](dataSource: DataSource)(q: DbCon ?=> A)(implicit

/** Executes a given query on a given Transactor
*
* Re-implementation of
* [[com.augustnagro.magnum.connect(dataSource: DataSource)]] for ZIO
* Re-implementation for ZIO of
* [[com.augustnagro.magnum.connect(dataSource: DataSource)]]
*
* Usage:
* {{{
Expand All @@ -49,8 +49,8 @@ def connect[A](

/** Executes a given transaction on a given DataSource
*
* Re-implementation of
* [[com.augustnagro.magnum.transact(transactor: Transactor)]] for ZIO
* Re-implementation for ZIO of
* [[com.augustnagro.magnum.transact(transactor: Transactor)]]
*
* Usage:
* {{{
Expand All @@ -64,8 +64,8 @@ def transact[A](dataSource: DataSource)(q: DbTx ?=> A)(implicit

/** Executes a given transaction on a given Transactor
*
* Re-implementation of
* [[com.augustnagro.magnum.transact(transactor: Transactor)]] for ZIO
* Re-implementation for ZIO of
* [[com.augustnagro.magnum.transact(transactor: Transactor)]]
*
* Usage:
* {{{
Expand Down

0 comments on commit 39d90ea

Please sign in to comment.