PetSchema class

The schema of the conformance pets table.

Uses only core column registrations, so it works over any driver's delegate.

Constructors

PetSchema(SchemaBuilder<Pet> $)
Creates the schema.

Properties

$ → Table<Schema<Pet>, Pet>
The Table backing this schema reference.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
id → ColumnType<int?>
The id column.
final
name → ColumnType<String>
The name column.
final
ownerId → ColumnType<int>
The owner_id column.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fromRow(RowReader read) Pet
Construct a row instance from a typed read function.
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