Class: ActiveForce::Association::BelongsToAssociationProjectionBuilder

Inherits:
AbstractProjectionBuilder show all
Defined in:
lib/active_force/association/eager_load_projection_builder.rb

Instance Attribute Summary

Attributes inherited from AbstractProjectionBuilder

#association

Instance Method Summary collapse

Methods inherited from AbstractProjectionBuilder

#initialize

Constructor Details

This class inherits a constructor from ActiveForce::Association::AbstractProjectionBuilder

Instance Method Details

#projectionsObject



53
54
55
56
57
# File 'lib/active_force/association/eager_load_projection_builder.rb', line 53

def projections
  association.relation_model.fields.map do |field|
    "#{ association.sfdc_association_field }.#{ field }"
  end
end