com.datasift.dropwizard.scala.jdbi
A simple mapper that only depends on the result set
Example - SimpleMapper[(String, String)](r => (r.getString("firstname"), r.getString("lastname")))
If you used with ResultSetDSL the above example can be further simplified - SimpleMapper[(String, String)](r => (r -> "firstname", r -> "lastname"))
A simple mapper that only depends on the result set
Example - SimpleMapper[(String, String)](r => (r.getString("firstname"), r.getString("lastname")))
If you used with ResultSetDSL the above example can be further simplified - SimpleMapper[(String, String)](r => (r -> "firstname", r -> "lastname"))