Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
import scalikejdbc.{DBSession, NamedDB}
package object testdata {
private[testdata] implicit class NamedDbSession(namedDB: NamedDB) {
def withSession[A](session: DBSession)(execution: DBSession => A): A =
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment