Helper for using PageRequest along with slick
Helper for using PageRequest along with slick
Count all rows in table
Count rows by predicate.
Count rows by predicate. {{ countBy(_.foo === "bar") }}
Type of predicate. it's not a boolean but slick internal
predicate
Proof that result of predicate could be a query condition
Number of rows that satisfied predicate
Find all entities
Find all entities
request could be limited with offset/limit
All entities in table in respect with pageRequest parameter
Find all entities by predicate
Find all entities by predicate
type of predicate. it's not a boolean but slick internal
predicate
page request to limit/offset query
proof that result of predicate could be a query condition
Find entity by id
Find entity by id
Option with entity. None in case if there is no such entity.
Find one entity by predicate
Find one entity by predicate
type of predicate. it's not a boolean but slick internal
predicate
proof that result of predicate could be a query condition
First entity that satisfied given predicate. If there is no such entity, None will be returned
Remove entities
Remove entities
True in case if at least one of entities was removed
Remove entity
Remove entity
True in case if entity was removed
Remove all entities in table
Remove all entities in table
True in case if at least one of entities was removed
Remove rows from table by predicate.
Remove rows from table by predicate. {{ removeBy(_.foo === "bar") }}
Type of predicate. it's not a boolean but slick internal
predicate
Proof that result of predicate could be a query condition
true in case if one more rows were removed
Remove entity by id
Remove entity by id
True in case if entity was removed
Insert or updates entities in DB
Insert or updates entities in DB
entities
inserted or updated entities
Insert or updates entity in DB
Insert or updates entity in DB
entity
inserted entity with new ID or updated entity