JoinTable class

Junction table configuration for ManyToMany relationships

Constructors

JoinTable({required String name, required JoinColumn joinColumn, required JoinColumn inverseJoinColumn, List<String>? additionalIndexes, List<JunctionColumn>? extraColumns})
const

Properties

additionalIndexes → List<String>?
Additional indexes to create on the junction table
final
extraColumns → List<JunctionColumn>?
Extra columns to add to the junction table Use this to add custom attributes like timestamps, status flags, etc.
final
hashCode → int
The hash code for this object.
no setterinherited
inverseJoinColumn → JoinColumn
Column configuration for the target entity's foreign key
final
joinColumn → JoinColumn
Column configuration for the owning entity's foreign key
final
name → String
Name of the junction table
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited