io
.
teamscala
.
play
.
db
.
slick
Dao
Related Doc:
package slick
trait
Dao
extends
DaoBaseComponent
with
DaoQueryComponent
with
DaoCrudActionsComponent
with
DaoPagingActionsComponent
Self Type
Dao
with
HasSlickDriver
[
JdbcDriver
]
Linear Supertypes
DaoPagingActionsComponent
,
DaoCrudActionsComponent
,
DaoQueryComponent
,
DaoBaseComponent
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
Dao
DaoPagingActionsComponent
DaoCrudActionsComponent
DaoQueryComponent
DaoBaseComponent
AnyRef
Any
Hide All
Show all
Visibility
Public
All
Type Members
class
DaoQuery
extends
TableQuery
[(
DaoQueryComponent
.this)#
EntityTable
]
Definition Classes
DaoQueryComponent
abstract
class
DefaultPaging
extends (
DaoPagingActionsComponent
.this)#
SimplePaging
[(
DaoPagingActionsComponent
.this)#
EntityTable
,
DaoBaseComponent.EntityTable.TableElementType
]
Definition Classes
DaoPagingActionsComponent
abstract
type
Entity
Definition Classes
DaoBaseComponent
abstract
type
EntityTable
<:
slick.profile.RelationalProfile.Table
[(
Dao
.this)#
Entity
] with
HasId
[(
Dao
.this)#
Id
, (
Dao
.this)#
IdColumn
]
Definition Classes
DaoBaseComponent
abstract
type
Id
Definition Classes
DaoBaseComponent
abstract
type
IdColumn
Definition Classes
DaoBaseComponent
type
Identifiable
=
AnyRef
{ def id: Option[Dao.this.Id] }
Definition Classes
DaoBaseComponent
abstract
class
Paging
[
T
,
E
]
extends
AnyRef
Definition Classes
DaoPagingActionsComponent
abstract
class
SimplePaging
[
T
,
E
]
extends (
DaoPagingActionsComponent
.this)#
Paging
[
T
,
E
]
Definition Classes
DaoPagingActionsComponent
Abstract Value Members
abstract
def
query
: (
Dao
.this)#
DaoQuery
Definition Classes
DaoQueryComponent
Concrete Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
object
DaoQuery
Definition Classes
DaoQueryComponent
def
all
:
slick.driver.JdbcProfile.API.StreamingDBIO
[
Seq
[(
Dao
.this)#
Entity
], (
Dao
.this)#
Entity
]
Definition Classes
DaoCrudActionsComponent
def
allIds
:
slick.driver.JdbcProfile.API.StreamingDBIO
[
Seq
[(
Dao
.this)#
Id
], (
Dao
.this)#
Id
]
Definition Classes
DaoCrudActionsComponent
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
count
:
slick.driver.JdbcProfile.API.DBIO
[
Int
]
Definition Classes
DaoCrudActionsComponent
def
delete
()
:
slick.driver.JdbcProfile.API.DBIO
[
Int
]
Definition Classes
DaoCrudActionsComponent
def
delete
(
id: (
Dao
.this)#
Id
)
:
slick.driver.JdbcProfile.API.DBIO
[
Int
]
Definition Classes
DaoCrudActionsComponent
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
executionContext
:
ExecutionContext
Definition Classes
DaoBaseComponent
def
existsById
(
id: (
Dao
.this)#
Id
)
:
slick.driver.JdbcProfile.API.DBIO
[
Boolean
]
Definition Classes
DaoCrudActionsComponent
def
fetchAll
(
fetchSize:
Int
=
100
)
:
slick.driver.JdbcProfile.API.StreamingDBIO
[
Seq
[(
Dao
.this)#
Entity
], (
Dao
.this)#
Entity
]
Definition Classes
DaoCrudActionsComponent
def
fetchAllIds
(
fetchSize:
Int
=
100
)
:
slick.driver.JdbcProfile.API.StreamingDBIO
[
Seq
[(
Dao
.this)#
Id
], (
Dao
.this)#
Id
]
Definition Classes
DaoCrudActionsComponent
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
findById
(
id: (
Dao
.this)#
Id
)
:
slick.driver.JdbcProfile.API.DBIO
[
Option
[(
Dao
.this)#
Entity
]]
Definition Classes
DaoCrudActionsComponent
def
getById
(
id: (
Dao
.this)#
Id
)
:
slick.driver.JdbcProfile.API.DBIO
[(
Dao
.this)#
Entity
]
Definition Classes
DaoCrudActionsComponent
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
insert
(
entities:
Seq
[(
Dao
.this)#
Entity
]
)
:
slick.driver.JdbcProfile.API.DBIO
[
Option
[
Int
]]
Definition Classes
DaoCrudActionsComponent
def
insert
(
entity: (
Dao
.this)#
Entity
)
:
slick.driver.JdbcProfile.API.DBIO
[
Int
]
Definition Classes
DaoCrudActionsComponent
def
insertOrUpdate
(
entity: (
Dao
.this)#
Entity
)
:
slick.driver.JdbcProfile.API.DBIO
[
Int
]
Definition Classes
DaoCrudActionsComponent
def
insertReturningId
(
entity: (
Dao
.this)#
Entity
)
:
slick.driver.JdbcProfile.API.DBIO
[(
Dao
.this)#
Id
]
Definition Classes
DaoCrudActionsComponent
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
save
(
entity: (
Dao
.this)#
Entity
with (
Dao
.this)#
Identifiable
)
:
slick.driver.JdbcProfile.API.DBIO
[(
Dao
.this)#
Entity
]
Definition Classes
DaoCrudActionsComponent
Annotations
@throws
(
"if the row not found"
)
@throws
(
"if the too many rows affected"
)
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
update
(
id: (
Dao
.this)#
Id
,
entity: (
Dao
.this)#
Entity
)
:
slick.driver.JdbcProfile.API.DBIO
[
Int
]
Definition Classes
DaoCrudActionsComponent
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
(
...
)
Inherited from
DaoPagingActionsComponent
Inherited from
DaoCrudActionsComponent
Inherited from
DaoQueryComponent
Inherited from
DaoBaseComponent
Inherited from
AnyRef
Inherited from
Any
Ungrouped