ViewColumn class
A column that is part of a view.
- Inheritance
- Implemented types
- Mixed-in types
- Available extensions
Constructors
- ViewColumn.new(Column innerColumn, ResolvedType? type, [String? _name])
- Creates a view column wrapping a Column from the select statement used to create the view.
Properties
- containingSet ↔ ResultSet?
-
The result set containing this column, or null if this column is not part
of a known result set.
getter/setter pairinherited-setteroverride-getter
- hashCode → int
-
The hash code for this object.
no setterinherited
- includedInResults → bool
-
Whether this column is included in results when running a select query
like
SELECT * FROM table
.no setterinherited - innerColumn → Column
-
final
- name → String
-
The name of this column in the result set.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → Column
-
Available on Column, provided by the UnaliasColumn extension
Attempts to resolve the source of this column, if this is an AvailableColumn or a CommonTableExpressionColumn that refers to another column.no setter - type → ResolvedType?
-
The type of this column, which is available before any resolution happens
(we know it from the schema structure).
final
- view ↔ View?
-
The view this column belongs to.
getter/setter pair
- visibleToChildren → bool
-
Whether this referencable is still visible in child scopes. This doesn't
apply to many things, basically only to tables.
no setterinherited
Methods
-
humanReadableDescription(
) → String -
override
-
meta<
T> () → T? -
Returns the metadata of type
T
that might have been set on this node, or null if none was found. Nodes can have arbitrary annotations on them set viasetMeta
and obtained viameta
. This mechanism is used to, for instance, attach variable scopes to a subtree.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setMeta<
T> (T value) → void -
Sets the metadata of type
T
to the specifiedvalue
. Nodes can have arbitrary annotations on them set viasetMeta
and obtained viameta
. This mechanism is used to, for instance, attach variable scopes to a subtree.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited