View class abstract
Subclasses represent a view in a database generated by drift.
For more information on how to define views in Dart, see the documentation
- Inheritance
-
- Object
- HasResultSet
- View
Constructors
- View()
-
Defines a view to be used with drift.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
as(
) → Query< HasResultSet, dynamic> - This method is overridden by Dart-defined views to declare the right query to run.
-
from(
Table table) → SimpleSelectStatement< HasResultSet, dynamic> - This method should be called on select to define the main table of this view:
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
select(
List< Expression> columns) → View - The select method can be used in as to define the select query backing this view.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited