implicit final class QuillZioExt[T, R] extends AnyVal
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- QuillZioExt
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new QuillZioExt(qzio: ZIO[Connection with R, Throwable, T])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def onSomeDataSource(implicit tag: Tag[R]): ZIO[DataSource with R, SQLException, T]
Change
Connectionof a QIO toDataSource with Closeableby providing aQuill.Connection.acquireScopedinstance which will grab a connection from the data-source, perform the QIO operation, and the immediately release the connection.Change
Connectionof a QIO toDataSource with Closeableby providing aQuill.Connection.acquireScopedinstance which will grab a connection from the data-source, perform the QIO operation, and the immediately release the connection. This is used for data-sources that have pooled connections e.g. Hikari.def ds: DataSource with Closeable = ... run(query[Person]).onDataSource.provide(Has(ds))
- def toString(): String
- Definition Classes
- Any