RelatedColumnRef class

Implemented types

Constructors

RelatedColumnRef(String originalName, String localName, String tableName, String? relationshipPrefix, {String? tableAlias})
const

Properties

dartName → String
no setteroverride
dbName → String
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
localName → String
final
originalName → String
final
qualified → String
The column name qualified with its base table name (e.g., 'users.id'). Useful for disambiguating columns in SQL joins.
no setteroverride
relationshipPrefix → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tableAlias → String?
final
tableName → String
final

Methods

fullyQualified(String? prefix) → String
The fully qualified column name, potentially including a relationshipPrefix. This is the name that should be used in filters (e.g., eq(PostsColumn.userId, 1) might translate to a filter on 'user_id' or 'posts.user_id' or 'author.id' depending on context and prefix).
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
Creates a new TetherColumn instance that represents this column as accessed through a named relationship.
override
toString() → String
A string representation of this object.
inherited
withAlias(String? alias) → TetherColumn
Creates a new column reference with a table alias.
override

Operators

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