Expand description
Named, chainable query scopes (Rails scope :published, -> { where(...) }).
A scope is any query transformation FnOnce(Select<E>) -> Select<E> — a free
function or a closure. Scoped lets them chain fluently off a sea-orm
Select, e.g. Entity::find().scope(published).scope(recent).
Traits§
- Scoped
- Fluent application of named scopes to a query.