anorm

package anorm

Anorm API

Use the SQL method to start an SQL query

import anorm._

SQL("Select 1")
Visibility
  1. Public
  2. All

Type Members

  1. case class BatchSql (sql: SqlQuery, params: Seq[Seq[(String, anorm.ParameterValue[_])]]) extends Product with Serializable

  2. trait Column [A] extends (Any, MetaDataItem) ⇒ MayErr[SqlRequestError, A]

  3. case class ColumnNotFound (columnName: String, possibilities: List[String]) extends SqlRequestError with Product with Serializable

  4. case class Error (msg: SqlRequestError) extends SqlResult[Nothing] with Product with Serializable

  5. case class Id [ID] (id: ID) extends Pk[ID] with Product with Serializable

  6. case class MayErr [+E, +A] (e: Either[E, A]) extends Product with Serializable

  7. case class MetaData (ms: List[MetaDataItem]) extends Product with Serializable

  8. case class MetaDataItem (column: String, nullable: Boolean, clazz: String) extends Product with Serializable

  9. case class MockRow (data: List[Any], metaData: MetaData) extends Row with Product with Serializable

  10. case class ParameterValue [A] (aValue: A, statementSetter: ToStatement[A]) extends Product with Serializable

  11. class Pk [+ID] extends AnyRef

    Attributes
    abstract
  12. trait PriorityEight extends PrioritySeven

  13. trait PriorityFive extends PriorityFour

  14. trait PriorityFour extends PriorityThree

  15. trait PriorityNine extends PriorityEight

  16. trait PriorityOne extends AnyRef

  17. trait PrioritySeven extends PrioritySix

  18. trait PrioritySix extends PriorityFive

  19. trait PriorityThree extends PriorityTwo

  20. trait PriorityTwo extends PriorityOne

  21. trait ResultSetParser [+A] extends (ResultSet) ⇒ SqlResult[A]

  22. trait Row extends AnyRef

  23. trait RowParser [+A] extends (Row) ⇒ SqlResult[A]

  24. case class SimpleSql [T] (sql: SqlQuery, params: Seq[(String, anorm.ParameterValue[_])], defaultParser: RowParser[T]) extends Sql with Product with Serializable

  25. trait Sql extends AnyRef

  26. case class SqlMappingError (msg: String) extends SqlRequestError with Product with Serializable

  27. case class SqlQuery (query: String, argsInitialOrder: List[String]) extends Sql with Product with Serializable

  28. class SqlRequestError extends AnyRef

    Attributes
    abstract
  29. trait SqlResult [+A] extends AnyRef

  30. case class SqlRow (metaData: MetaData, data: List[Any]) extends Row with Product with Serializable

  31. case class Success [A] (a: A) extends SqlResult[A] with Product with Serializable

  32. trait ToStatement [A] extends AnyRef

  33. case class TupleFlattener [F] (f: F) extends Product with Serializable

  34. case class TypeDoesNotMatch (message: String) extends SqlRequestError with Product with Serializable

  35. case class UnexpectedNullableFound (on: String) extends SqlRequestError with Product with Serializable

  36. case class ~ [+A, +B] (_1: A, _2: B) extends Product with Serializable

Value Members

  1. object Column extends AnyRef

  2. object MayErr extends Serializable

  3. object NoColumnsInReturnedResult extends SqlRequestError with Product with Serializable

  4. object NotAssigned extends Pk[Nothing] with Product with Serializable

  5. object ResultSetParser extends AnyRef

  6. object Row extends AnyRef

  7. object RowParser extends AnyRef

  8. def SQL (stmt: String): SqlQuery

    Definition Classes
    package
  9. object Sql extends AnyRef

  10. object SqlParser extends AnyRef

  11. object SqlStatementParser extends JavaTokenParsers

  12. object ToStatement extends AnyRef

  13. object TupleFlattener extends PriorityNine with Serializable

  14. object Useful extends AnyRef

  15. implicit def implicitID [ID] (id: Id[ID] with NotNull): ID

    Attributes
    implicit
    Definition Classes
    package
  16. implicit def sqlToBatch (sql: SqlQuery): BatchSql

    Attributes
    implicit
    Definition Classes
    package
  17. implicit def sqlToSimple (sql: SqlQuery): SimpleSql[Row]

    Attributes
    implicit
    Definition Classes
    package
  18. implicit def toParameterValue [A] (a: A)(implicit p: ToStatement[A]): ParameterValue[A]

    Attributes
    implicit
    Definition Classes
    package