Class: ApiQueryLanguage::QueryContext

Inherits:
Data
  • Object
show all
Defined in:
lib/api_query_language/active_record/query_context.rb

Instance Attribute Summary collapse

Instance Attribute Details

#field_to_attribute_mappingsObject (readonly)

Returns the value of attribute field_to_attribute_mappings

Returns:

  • (Object)

    the current value of 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_relationObject (readonly)

Returns the value of attribute root_relation

Returns:

  • (Object)

    the current value of root_relation



2
3
4
# File 'lib/api_query_language/active_record/query_context.rb', line 2

def root_relation
  @root_relation
end