SupaTableJoin<B extends SupaCore, A extends SupaCore> class
Represents a join between two tables in the Supabase database.
- Inheritance
-
- Object
- SupaColumnBase<
B> - SupaTableJoin
Constructors
-
SupaTableJoin({required String tableName, required SupaColumn<
B, dynamic, dynamic> joiningColumn, required SupaJoinType joinType, required SupaRecord<A> record(Map<String, dynamic> json), String? foreignKey}) - Represents a join between two tables in the Supabase database.
Properties
- foreignKey → String?
-
The foreign key to use in the join.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
joiningColumn
→ SupaColumn<
B, dynamic, dynamic> -
The column with the foreign key that joins the tables.
final
- joinType → SupaJoinType
-
The type of join to perform.
final
- queryPattern → String
-
The query pattern for this column in the select() query.
finalinherited
-
record
→ SupaRecord<
A> Function(Map<String, dynamic> json) -
The constructor of the record type from the table to join.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tableName → String
-
The name of the table to join.
final
Methods
-
call(
Set< SupaColumnBase< columns) → SupaColumnBase<A> >B> - Returns a SupaColumnBase with the correct query pattern to fetch the given columns from the joined table.
-
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