Class: ActiveForce::Association::HasOneAssociationProjectionBuilder

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

Instance Attribute Summary

Attributes inherited from AbstractProjectionBuilder

#association, #parent_association_field, #query_fields

Instance Method Summary collapse

Methods inherited from AbstractProjectionBuilder

#apply_association_scope, #initialize, #query_with_association_fields

Constructor Details

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

Instance Method Details

#projectionsObject



71
72
73
# File 'lib/active_force/association/eager_load_projection_builder.rb', line 71

def projections
  ["(#{query_with_association_fields.to_s})"]
end