Returns a row parser generated for a case class T
,
getting column values by position.
Returns a row parser generated for a case class T
,
getting column values by position.
the type of case class
import anorm.{ Macros, RowParser } val p: RowParser[YourCaseClass] = Macros.indexedParser[YourCaseClass]
Returns a row parser generated for a case class T
,
getting column values by name.
Returns a row parser generated for a case class T
,
getting column values by name.
the type of case class
import anorm.{ Macros, RowParser } val p: RowParser[YourCaseClass] = Macros.namedParser[YourCaseClass]
Returns a row parser generated for a case class T
,
getting column values using given names
.
Returns a row parser generated for a case class T
,
getting column values using given names
.
the type of case class
the names of columns corresponding to the case class values
import anorm.{ Macros, RowParser } val p: RowParser[YourCaseClass] = Macros.namedParser[YourCaseClass]