SupaTableJoin<B extends SupaCore, A extends SupaCore> constructor

SupaTableJoin<B extends SupaCore, A extends SupaCore>({
  1. required String tableName,
  2. required SupaColumn<B, dynamic, dynamic> joiningColumn,
  3. required SupaJoinType joinType,
  4. required SupaRecord<A> record(
    1. Map<String, dynamic> json
    ),
  5. String? foreignKey,
})

Represents a join between two tables in the Supabase database.

Implementation

SupaTableJoin({
  required this.tableName,
  required this.joiningColumn,
  required this.joinType,
  required this.record,
  this.foreignKey,
}) : super(
        queryPattern:
            '''${_generateQueryPatternPrefix(tableName, joiningColumn, joinType, foreignKey)}(*)''',
      );