Class: ApiQueryLanguage::QueryContext
- Inherits:
-
Data
- Object
- Data
- ApiQueryLanguage::QueryContext
- Defined in:
- lib/api_query_language/active_record/query_context.rb
Instance Attribute Summary collapse
-
#field_to_attribute_mappings ⇒ Object
readonly
Returns the value of attribute field_to_attribute_mappings.
-
#root_relation ⇒ Object
readonly
Returns the value of attribute root_relation.
Instance Attribute Details
#field_to_attribute_mappings ⇒ Object (readonly)
Returns the value of attribute field_to_attribute_mappings
2 3 4 |
# File 'lib/api_query_language/active_record/query_context.rb', line 2 def field_to_attribute_mappings @field_to_attribute_mappings end |
#root_relation ⇒ Object (readonly)
Returns the value of attribute root_relation
2 3 4 |
# File 'lib/api_query_language/active_record/query_context.rb', line 2 def root_relation @root_relation end |