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 by position, with an offset.
Returns a row parser generated for a case class T
,
getting column values by position, with an offset.
the type of case class
the offset of column to be considered by the parser
import anorm.{ Macros, RowParser } val p: RowParser[YourCaseClass] = Macros.offsetParser[YourCaseClass](2)
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]