anorm
SimpleSql
case class
SimpleSql
[
T
]
(
sql:
SqlQuery
,
params:
Seq
[(
String
,
ParameterValue
[_])]
,
defaultParser:
RowParser
[
T
]
)
extends
Sql
with
Product
with
Serializable
Source
Anorm.scala
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
Sql
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
SimpleSql
Serializable
Serializable
Product
Equals
Sql
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
SimpleSql
(
sql:
SqlQuery
,
params:
Seq
[(
String
,
ParameterValue
[_])]
,
defaultParser:
RowParser
[
T
]
)
Value Members
final
def
!=
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
def
apply
()
(
implicit
connection:
Connection
)
:
Stream
[
SqlRow
]
Definition Classes
Sql
def
as
[
T
]
(
parser:
ResultSetParser
[
T
]
)
(
implicit
connection:
Connection
)
:
T
Definition Classes
Sql
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
()
val
defaultParser
:
RowParser
[
T
]
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
execute
()
(
implicit
connection:
Connection
)
:
Boolean
Definition Classes
Sql
def
execute1
(
getGeneratedKeys:
Boolean
=
false
)
(
implicit
connection:
Connection
)
: (
PreparedStatement
,
Int
)
Definition Classes
Sql
def
executeInsert
[
A
]
(
generatedKeysParser:
ResultSetParser
[
A
]
)
(
implicit
connection:
Connection
)
:
A
Definition Classes
Sql
def
executeUpdate
()
(
implicit
connection:
Connection
)
:
Int
Definition Classes
Sql
def
filledStatement
(
implicit
connection:
Connection
)
:
PreparedStatement
Definition Classes
Sql
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
()
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getFilledStatement
(
connection:
Connection
,
getGeneratedKeys:
Boolean
=
false
)
:
PreparedStatement
Definition Classes
SimpleSql
→
Sql
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
list
()
(
implicit
connection:
Connection
)
:
Seq
[
T
]
def
list
[
A
]
(
rowParser:
RowParser
[
A
]
)
(
implicit
connection:
Connection
)
:
Seq
[
A
]
Definition Classes
Sql
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
on
(
args: (
Any
,
ParameterValue
[_])*
)
:
SimpleSql
[
T
]
def
onParams
(
args:
ParameterValue
[_]*
)
:
SimpleSql
[
T
]
val
params
:
Seq
[(
String
,
ParameterValue
[_])]
def
parse
[
T
]
(
parser:
ResultSetParser
[
T
]
)
(
implicit
connection:
Connection
)
:
T
Definition Classes
Sql
def
resultSet
()
(
implicit
connection:
Connection
)
:
ResultSet
Definition Classes
Sql
def
single
()
(
implicit
connection:
Connection
)
:
T
def
single
[
A
]
(
rowParser:
RowParser
[
A
]
)
(
implicit
connection:
Connection
)
:
A
Definition Classes
Sql
def
singleOpt
()
(
implicit
connection:
Connection
)
:
Option
[
T
]
def
singleOpt
[
A
]
(
rowParser:
RowParser
[
A
]
)
(
implicit
connection:
Connection
)
:
Option
[
A
]
Definition Classes
Sql
val
sql
:
SqlQuery
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
using
[
U
]
(
p:
RowParser
[
U
]
)
:
SimpleSql
[
U
]
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
()
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
()
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
()
def
withQueryTimeout
(
seconds:
Option
[
Int
]
)
:
SimpleSql
[
T
]
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
Sql
Inherited from
AnyRef
Inherited from
Any
Ungrouped