Creates an Action from a function taking a JDBC Connection.
Creates an Action from a function taking a JDBC Connection.
A Connection will be kept open for the whole duration.
This can be used to perform side-effects on the JDBC connection.
The side-effects will persist as lond a the connection is
kept open, which you can affect using sameConnection
or transaction
.
BE WARNED:
You need to specify type T correctly as Read, Write and/or Async.
Don't pass the Connection across Threads.
Don't hold onto the Connection, e.g. in some captured scope.
Creates an Action from a function taking a Slick Session.
Creates an Action from a function taking a Slick Session. A Session will be kept open for the whole duration. BE WARNED: You need to specify type T correctly as Read, Write and/or Async. Don't pass the Session across Threads. Don't hold onto the Session, e.g. in some captured scope.
(unsafe: StringAdd).self
(unsafe: StringFormat).self
(unsafe: ArrowAssoc[unsafe[T]]).x
(Since version 2.10.0) Use leftOfArrow
instead
(unsafe: Ensuring[unsafe[T]]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
Helper for unsafe actions to allow partial type-inference