play
.
db
anorm
package
anorm
Visibility
Public
All
Impl.
Concrete
Abstract
Type Members
case class
Analyse
[
T
]
(
tableName: Option[String]
,
conventions: PartialFunction[AnalyserInfo, String]
,
m: ClassManifest[T]
)
extends Analyser[T] with Product
trait
Analyser
[
T
]
extends AnyRef
class
AnalyserInfo
extends AnyRef
attributes: abstract
case class
BatchSql
(
sql: SqlQuery
,
params: Seq[Seq[(String, Any)]]
)
extends Sql with Product
case class
Column
[
A
]
(
nullHandler: (Any, MetaDataItem) ⇒ Option[SqlRequestError]
,
transformer: (Any, MetaDataItem) ⇒ MayErr[SqlRequestError, A]
)
extends ColumnTo[A] with Product
case class
ColumnC
(
typeName: String
,
fieldName: String
)
extends AnalyserInfo with Product
case class
ColumnNotFound
(
columnName: String
)
extends SqlRequestError with Product
trait
ColumnTo
[
A
]
extends AnyRef
case class
Convention
(
conv: PartialFunction[AnalyserInfo, String]
)
extends Product
case class
Id
[
ID
]
(
id: ID
)
extends Pk[ID] with Product
case class
IntegrityConstraintViolation
(
message: String
)
extends SqlRequestError with Product
trait
M
[
T
]
extends Parser[T] with MParser[T]
trait
MParser
[
T
]
extends Parser[T] with ParserWithId[T]
trait
MSql
[
T
]
extends AnyRef
case class
MetaData
(
ms: List[MetaDataItem]
)
extends Product
case class
MetaDataItem
(
column: String
,
nullable: Boolean
,
clazz: String
)
extends Product
case class
MockRow
(
data: List[Any]
,
metaData: MetaData
)
extends Row with Product
trait
ParserWithId
[
T
]
extends Parser[T]
class
Pk
[
+ID
]
extends AnyRef
attributes: abstract
trait
PriorityOne
extends AnyRef
trait
PriorityThree
extends PriorityTwo
trait
PriorityTwo
extends PriorityOne
trait
Row
extends AnyRef
case class
SimpleSql
[
T
]
(
sql: SqlQuery
,
params: Seq[(String, Any)]
,
defaultParser: Parser[T]
)
extends Sql with Product
trait
Sql
extends AnyRef
trait
SqlParser
extends Parsers
case class
SqlQuery
(
query: String
,
argsInitialOrder: List[String]
)
extends Sql with Product
class
SqlRequestError
extends AnyRef
attributes: abstract
case class
SqlRow
(
metaData: MetaData
,
data: List[Any]
)
extends Row with Product
case class
TableC
(
typeName: String
)
extends AnalyserInfo with Product
case class
TupleFlattener
[
F
]
(
f: F
)
extends Product
case class
TypeDoesNotMatch
(
message: String
)
extends SqlRequestError with Product
case class
UnexpectedNullableFound
(
on: String
)
extends SqlRequestError with Product
Value Members
object
ColumnTo
extends AnyRef
object
NoColumnsInReturnedResult
extends SqlRequestError with Product
object
NotAssigned
extends Pk[Nothing] with Product
object
Row
extends AnyRef
def
SQL
(
stmt: String
)
:
SqlQuery
definition classes:
root
object
Sql
extends AnyRef
object
SqlParser
extends SqlParser
object
SqlStatementParser
extends JavaTokenParsers
object
TupleFlattener
extends PriorityThree
object
TypeWrangler
extends AnyRef
object
Useful
extends AnyRef
val
asIs
:
PartialFunction
[
AnalyserInfo
, String]
definition classes:
root
val
defaults
:
Convention
definition classes:
root
implicit def
implicitID
[
ID
]
(
id:
Id
[ID]
)
: ID
attributes: implicit
definition classes:
root
implicit def
sqlToBatch
(
sql:
SqlQuery
)
:
BatchSql
attributes: implicit
definition classes:
root
implicit def
sqlToSimple
(
sql:
SqlQuery
)
:
SimpleSql
[
Row
]
attributes: implicit
definition classes:
root