Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- object db {
- def run[A](block: Connection => A): A = {
- DB autoCommit {
- implicit session => block(session.connection)
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement