Skip to content

class Athena::ORM::Mapping::JoinTable
inherits Reference #

The join table of a many-to-many association, as configured by AORMA::JoinTable.

See AORM::Mapping::ManyToManyOwningSide for its default name and columns.

Methods#

#inverse_join_columns : Array(JoinColumn)#

The columns referencing the target entity of the association.

View source

#inverse_join_columns=(inverse_join_columns : Array(JoinColumn))#

The columns referencing the target entity of the association.

View source

#join_columns : Array(JoinColumn)#

The columns referencing the entity declaring the association.

View source

#join_columns=(join_columns : Array(JoinColumn))#

The columns referencing the entity declaring the association.

View source

#name : String#

The name of the join table.

View source

#name=(name : String)#

The name of the join table.

View source

#qualified_name : String#

Returns the fully qualified table name including schema if set.

View source

#quoted=(quoted : Bool)#

Whether the name was wrapped in backticks in the mapping, so it's quoted in the generated SQL.

View source

#quoted? : Bool#

Whether the name was wrapped in backticks in the mapping, so it's quoted in the generated SQL.

View source

#schema : String | ::Nil#

The schema of the join table.

View source

#schema=(schema : String | Nil)#

The schema of the join table.

View source