Returns total table count
Delete a Model
.
Delete a Model
.
DBIO[Int] with the number of affected rows
Fetch all elements from a table.
Fetch all elements from a table.
- the number of row to fetch, defaults to 100
StreamingDBIO[Seq[Model], Model]
Insert or Update a Model
Insert Model
if not yet persisted, otherwise update it.
Insert or Update a Model
Insert Model
if not yet persisted, otherwise update it.
DBIO[Model] for a Model
as persisted in the table.
Update a Model
.
Update a Model
.
DBIO[Model] for a Model
as persisted in the table.
Define basic CRUD actions.
This trait make no assumption about the presence of an Entity and a corresponding ID. Therefore it can also be used for persistence of Value Objects.