Allows to directly use update count as update result.
Allows to directly use update count as update result.
import acolyte.jdbc.AcolyteDSL.handleStatement import acolyte.jdbc.Implicits._ handleStatement withUpdateHandler { exec => 1 } // 1 = count
Allows to directly use row list as query result.
Allows to directly use row list as query result.
import acolyte.jdbc.{ QueryResult, RowLists } import acolyte.jdbc.Implicits.rowListAsResult // import this conversion val qr: QueryResult = RowLists.stringList
Allows to directly use string as query result.
Allows to directly use string as query result.
import acolyte.jdbc.Implicits.stringAsResult // import this conversion val qr: acolyte.jdbc.QueryResult = "str"