Class: ActiveRecord::QueryMethods::JoinBuckets
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
::Data
|
|
|
Instance Chain:
self,
::Data
|
|
| Inherits: | Data |
| Defined in: | activerecord/lib/active_record/relation/query_methods.rb |
Overview
The joins of a relation, grouped by how they are built into the query.
#named_joins are association names, built into one join dependency rooted
at the model. #stashed_joins are join dependencies that are built already,
joined in that order after it. #leading_joins and #join_nodes are ::Arel
nodes, joined before and after both.
Instance Attribute Summary
-
#join_nodes
readonly
Internal use only
The joins of a relation, grouped by how they are built into the query.
-
#join_type
readonly
Internal use only
The joins of a relation, grouped by how they are built into the query.
-
#leading_joins
readonly
Internal use only
The joins of a relation, grouped by how they are built into the query.
-
#named_joins
readonly
Internal use only
The joins of a relation, grouped by how they are built into the query.
-
#stashed_joins
readonly
Internal use only
The joins of a relation, grouped by how they are built into the query.
Instance Method Summary
Instance Attribute Details
#join_nodes (readonly)
The joins of a relation, grouped by how they are built into the query.
#named_joins are association names, built into one join dependency rooted
at the model. #stashed_joins are join dependencies that are built already,
joined in that order after it. #leading_joins and join_nodes are ::Arel
nodes, joined before and after both.
# File 'activerecord/lib/active_record/relation/query_methods.rb', line 156
JoinBuckets = Data.define(:leading_joins, :named_joins, :stashed_joins, :join_nodes, :join_type)
#join_type (readonly)
The joins of a relation, grouped by how they are built into the query.
#named_joins are association names, built into one join dependency rooted
at the model. #stashed_joins are join dependencies that are built already,
joined in that order after it. #leading_joins and #join_nodes are ::Arel
nodes, joined before and after both.
# File 'activerecord/lib/active_record/relation/query_methods.rb', line 156
JoinBuckets = Data.define(:leading_joins, :named_joins, :stashed_joins, :join_nodes, :join_type)
#leading_joins (readonly)
The joins of a relation, grouped by how they are built into the query.
#named_joins are association names, built into one join dependency rooted
at the model. #stashed_joins are join dependencies that are built already,
joined in that order after it. leading_joins and #join_nodes are ::Arel
nodes, joined before and after both.
# File 'activerecord/lib/active_record/relation/query_methods.rb', line 156
JoinBuckets = Data.define(:leading_joins, :named_joins, :stashed_joins, :join_nodes, :join_type)
#named_joins (readonly)
The joins of a relation, grouped by how they are built into the query.
named_joins are association names, built into one join dependency rooted
at the model. #stashed_joins are join dependencies that are built already,
joined in that order after it. #leading_joins and #join_nodes are ::Arel
nodes, joined before and after both.
# File 'activerecord/lib/active_record/relation/query_methods.rb', line 156
JoinBuckets = Data.define(:leading_joins, :named_joins, :stashed_joins, :join_nodes, :join_type)
#stashed_joins (readonly)
The joins of a relation, grouped by how they are built into the query.
#named_joins are association names, built into one join dependency rooted
at the model. stashed_joins are join dependencies that are built already,
joined in that order after it. #leading_joins and #join_nodes are ::Arel
nodes, joined before and after both.
# File 'activerecord/lib/active_record/relation/query_methods.rb', line 156
JoinBuckets = Data.define(:leading_joins, :named_joins, :stashed_joins, :join_nodes, :join_type)