Skip to content

Instantly share code, notes, and snippets.

@sofyan-ahmad
sofyan-ahmad / anorm.scala
Created Nov 23, 2015 — forked from davegurnell/anorm.scala
A short guide to Anorm
View anorm.scala
/*
Overview
--------
To run a query using anorm you need to do three things:
1. Connect to the database (with or without a transaction)
2. Create an instance of `anorm.SqlQuery` using the `SQL` string interpolator
3. Call one of the methods on `SqlQuery` to actually run the query