Method: FrOData::Query#expand

Defined in:
lib/frodata/query.rb

#expand(*associations) ⇒ self

Specify associations to expand in the result.

Parameters:

  • associations (Array<Symbol>)

Returns:

  • (self)


95
96
97
98
# File 'lib/frodata/query.rb', line 95

def expand(*associations)
  criteria_set[:expand] += associations
  self
end