Class: AgnosticBackend::Queryable::Expressions::ScrollCursor
- Inherits:
-
Expression
- Object
- TreeNode
- Expression
- AgnosticBackend::Queryable::Expressions::ScrollCursor
- Defined in:
- lib/agnostic_backend/queryable/expressions/expression.rb
Instance Attribute Summary
Attributes inherited from TreeNode
Instance Method Summary collapse
-
#initialize(value:, context:) ⇒ ScrollCursor
constructor
A new instance of ScrollCursor.
- #scroll_cursor ⇒ Object
Methods inherited from TreeNode
Methods included from Utilities
Constructor Details
#initialize(value:, context:) ⇒ ScrollCursor
Returns a new instance of ScrollCursor.
65 66 67 |
# File 'lib/agnostic_backend/queryable/expressions/expression.rb', line 65 def initialize(value:, context:) super([Value.new(value, parent: self, context: context)], context) end |
Instance Method Details
#scroll_cursor ⇒ Object
69 70 71 |
# File 'lib/agnostic_backend/queryable/expressions/expression.rb', line 69 def scroll_cursor children.first end |