p

zio

jdbc

package jdbc

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. jdbc
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. trait JdbcDecoder[+A] extends AnyRef

    A type class that describes the ability to decode a value of type A from a ResultSet.

  2. final case class JdbcDecoderError(message: String, cause: Throwable, metadata: ResultSetMetaData, row: Int, column: Option[Int] = None) extends IOException with Product with Serializable
  3. trait JdbcDecoderLowPriorityImplicits extends AnyRef
  4. trait JdbcEncoder[-A] extends AnyRef

    A type class that describes the ability to convert a value of type A into a fragment of SQL.

    A type class that describes the ability to convert a value of type A into a fragment of SQL. This is useful for forming SQL insert statements.

  5. trait JdbcEncoder0LowPriorityImplicits extends AnyRef
  6. final case class JdbcEncoderError(message: String, cause: Throwable) extends IOException with Product with Serializable
  7. final case class Query[+A](sql: SqlFragment, decode: (ZResultSet) => A) extends Product with Serializable
  8. sealed trait SqlFragment extends AnyRef

    A SqlFragment represents part or all of a SQL query.

    A SqlFragment represents part or all of a SQL query. The SQL is described by a sequence of segments, each segment being either a fragment of SQL, or a value to be inserted into the query in a way that is safe from SQL injection attacks.

  9. final class SqlInterpolator extends AnyVal

    An interpolator for SQL strings, which produces SqlFragment values.

  10. sealed trait TransactionIsolationLevel extends ZIOAspect[Nothing, Any, Nothing, Any, Nothing, Any]
  11. final case class UpdateResult(rowsUpdated: Long, updatedKeys: Chunk[Long]) extends Product with Serializable
  12. final class ZConnection extends AnyVal

    A ZConnection is a straightforward wrapper around java.sql.Connection.

    A ZConnection is a straightforward wrapper around java.sql.Connection. In order to avoid needless duplication of code, one can safely access the underlying JDBC Connection through the access method. Any such access will be attempted on the blocking thread pool.

  13. abstract class ZConnectionPool extends AnyRef

    A ZConnectionPool represents a pool of connections, and has the ability to supply a transaction that can be used for executing SQL statements.

  14. final case class ZConnectionPoolConfig(minConnections: Int, maxConnections: Int, retryPolicy: Schedule[Any, Throwable, Any], timeToLive: zio.Duration) extends Product with Serializable

    Configuration data for a connection pool.

  15. final class ZResultSet extends AnyRef

    A ZResultSet is a straightforward wrapper around java.sql.ResultSet.

    A ZResultSet is a straightforward wrapper around java.sql.ResultSet. In order to avoid needless duplication of code, one can safely access the underlying JDBC ResultSet through the access method. Any such access will be attempted on the blocking thread pool.

Value Members

  1. implicit def sqlInterpolator(sc: StringContext): SqlInterpolator
  2. implicit def stringToSql(s: String): SqlFragment

    Converts a String into a pure SQL expression

  3. val transaction: ZLayer[ZConnectionPool, Throwable, ZConnection]

    A new transaction, which may be applied to ZIO effects that require a connection in order to execute such effects in the transaction.

  4. object JdbcDecoder extends JdbcDecoderLowPriorityImplicits
  5. object JdbcEncoder extends JdbcEncoder0LowPriorityImplicits
  6. object Query extends Serializable
  7. object SqlFragment
  8. object TransactionIsolationLevel
  9. object ZConnection
  10. object ZConnectionPool
  11. object ZConnectionPoolConfig extends Serializable
  12. object ZResultSet

Inherited from AnyRef

Inherited from Any

Ungrouped