Class: ActivePostgrest::Relation::WhereChain
- Inherits:
-
Object
- Object
- ActivePostgrest::Relation::WhereChain
- Defined in:
- lib/active_postgrest/relation.rb
Instance Method Summary collapse
-
#initialize(relation) ⇒ WhereChain
constructor
A new instance of WhereChain.
- #not(filters) ⇒ Object
Constructor Details
#initialize(relation) ⇒ WhereChain
Returns a new instance of WhereChain.
9 10 11 |
# File 'lib/active_postgrest/relation.rb', line 9 def initialize(relation) @relation = relation end |
Instance Method Details
#not(filters) ⇒ Object
13 14 15 |
# File 'lib/active_postgrest/relation.rb', line 13 def not(filters) @relation.not_where(filters) end |