The type of the Entity
The Entity
's Id type
CrudActions.Model is the Entity
in this context
CrudActions.Model is the Entity
in this context
Returns total table count
Returns total table count
Delete a Model
.
Delete a Entity
by Id
Delete a Entity
by Id
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]
Finds Entity
referenced by Id
.
Finds Entity
referenced by Id
.
May fail if no Entity
is found for passed Id
DBIO[Entity] for the Entity
Finds Entity
referenced by Id
optionally.
Finds Entity
referenced by Id
optionally.
DBIO[Option[Entity]] for the Entity
Insert a new Entity
Insert a new Entity
DBIO[Id] for the generated Id
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 life cycle actions for a Entity that involve.