Class: Dbee::Query::Sorters
- Inherits:
-
Object
- Object
- Dbee::Query::Sorters
- Defined in:
- lib/dbee/query/sorters.rb,
lib/dbee/query/sorters/base.rb,
lib/dbee/query/sorters/ascending.rb,
lib/dbee/query/sorters/descending.rb
Overview
Top-level class that allows for the making of sorters. For example, you can call this as:
-
Sorters.make(key_path: ‘id’, direction: :ascending)
-
Sorters.make(key_path: ‘id’)
-
Sorters.make(key_path: ‘id’, direction: :descending)
Defined Under Namespace
Classes: Ascending, Base, Descending