RelatedBuilderLink class

Represents a link to a related SelectBuilderBase for constructing nested queries.

This class holds a builder for the related table, the fkConstraintName that defines the relationship, and a flag innerJoin to specify if an inner join should be used (relevant for Supabase PostgREST queries).

Constructors

RelatedBuilderLink({required SelectBuilderBase builder, required String fkConstraintName, bool innerJoin = false})
Creates a RelatedBuilderLink.
const

Properties

builder → SelectBuilderBase
The SelectBuilderBase for the related table.
final
fkConstraintName → String
The name of the foreign key constraint that establishes this link. This is crucial for PostgREST to correctly identify the relationship.
final
hashCode → int
The hash code for this object.
no setterinherited
innerJoin → bool
If true, an inner join hint (!inner) is added to the PostgREST query, ensuring that rows from the parent table are only returned if a matching row exists in the related table. Defaults to false.
final
props → List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stringify → bool?
If set to true, the toString method will be overridden to output this instance's props.
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