ResultSetImplementation<Tbl, Row> class abstract

Interface for schema entities that have a result set.

Tbl is the generated Dart class which implements ResultSetImplementation and the user-defined Table class. Row is the class used to hold a result row.

Inheritance
Implementers
Available Extensions

Constructors

ResultSetImplementation()

Properties

$columns List<GeneratedColumn<Object>>
All columns from this table or view.
read-only
aliasedName String
The (potentially aliased) name of this table or view.
read-only
asDslTable → Tbl
Type system sugar. Implementations are likely to inherit from both TableInfo and Tbl and can thus just return their instance.
read-only
attachedDatabase DatabaseConnectionUser
The generated database instance that this view or table is attached to.
read-only
columnsByName Map<String, GeneratedColumn<Object>>
Gets all $columns in this table or view, indexed by their (non-escaped) name.
read-only
entityName String
The (unalised) name of this entity in the database.
read-onlyinherited
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

createAlias(String alias) ResultSetImplementation<Tbl, Row>
Creates an alias of this table or view that will write the name alias when used in a query.
map(Map<String, dynamic> data, {String? tablePrefix}) FutureOr<Row>
Maps the given row returned by the database into the fitting data class.
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