Class: AgnosticBackend::Queryable::Expressions::Select
- Inherits:
-
Expression
- Object
- TreeNode
- Expression
- AgnosticBackend::Queryable::Expressions::Select
- Defined in:
- lib/agnostic_backend/queryable/expressions/expression.rb
Instance Attribute Summary
Attributes inherited from TreeNode
Instance Method Summary collapse
-
#initialize(attributes:, context:) ⇒ Select
constructor
A new instance of Select.
Methods inherited from TreeNode
Methods included from Utilities
Constructor Details
#initialize(attributes:, context:) ⇒ Select
Returns a new instance of Select.
29 30 31 |
# File 'lib/agnostic_backend/queryable/expressions/expression.rb', line 29 def initialize(attributes:, context:) super(attributes.map { |a| Attribute.new(a, parent: self, context: context) }, context) end |