Module: ParamsReady::Pagination::Nulls::Last
- Defined in:
- lib/params_ready/pagination/nulls.rb
Class Method Summary collapse
- .if_not_null_predicate(tendency, column, value, nested) ⇒ Object
- .if_null_predicate(column, nested) ⇒ Object
Class Method Details
.if_not_null_predicate(tendency, column, value, nested) ⇒ Object
25 26 27 |
# File 'lib/params_ready/pagination/nulls.rb', line 25 def self.if_not_null_predicate(tendency, column, value, nested) tendency.non_nullable_predicate(column, value, nested).or(column.eq(nil)) end |