Repo
A read & write data repository
Type parameters
- E
-
database entity class
- EC
-
'Entity Creator', which should have all fields of E minus those auto-generated by the database. Can be the same type as E.
- ID
-
id type of E
Attributes
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Deletes an entity using its id
Deletes an entity using its id
Attributes
Delete all provided entities
Delete all provided entities
Attributes
Deletes all entities with an Iterable of ids
Deletes all entities with an Iterable of ids
Attributes
Deletes an entity using its id
Deletes an entity using its id
Attributes
Insert and return entity E
Insert and return entity E
Attributes
Insert and return all new entities
Insert and return all new entities
Attributes
Update all entities
Update all entities
Attributes
Inherited methods
Count of all entities
Returns true if an E exists with the given id
Find all entities matching the specification. See the scaladoc of Spec for more details
Find all entities matching the specification. See the scaladoc of Spec for more details
Attributes
- Inherited from:
- ImmutableRepo
Returns all entity values
Find all entities having ids in the Iterable. If an Id is not found, no error is thrown.
Find all entities having ids in the Iterable. If an Id is not found, no error is thrown.
Attributes
- Inherited from:
- ImmutableRepo
Returns Some(entity) if a matching E is found