Class: Rooq::ExistsCondition
- Inherits:
-
Object
- Object
- Rooq::ExistsCondition
- Extended by:
- T::Sig
- Defined in:
- lib/rooq/condition.rb
Overview
EXISTS condition
Instance Attribute Summary collapse
- #negated ⇒ Boolean readonly
- #subquery ⇒ DSL::SelectQuery readonly
Instance Method Summary collapse
- #initialize(subquery, negated: false) ⇒ void constructor
Constructor Details
#initialize(subquery, negated: false) ⇒ void
85 86 87 88 89 |
# File 'lib/rooq/condition.rb', line 85 def initialize(subquery, negated: false) @subquery = subquery @negated = negated freeze end |
Instance Attribute Details
#negated ⇒ Boolean (readonly)
82 83 84 |
# File 'lib/rooq/condition.rb', line 82 def negated @negated end |
#subquery ⇒ DSL::SelectQuery (readonly)
79 80 81 |
# File 'lib/rooq/condition.rb', line 79 def subquery @subquery end |