ReturningSupport class
A driver's RETURNING capability, declared by passing it to
testDriverConformance.
Each hook applies the driver's own row-yielding transform to a write on the conformance fixtures:
testDriverConformance(
MyDriverHarness(),
returning: ReturningSupport(
insert: (builder) => builder.returning(),
update: (builder) => builder.returning(),
delete: (builder) => builder.returning(),
),
);
Constructors
-
ReturningSupport({required InsertWithValuesBuilder<
Schema< insert(InsertWithValuesBuilder<User> , User, User>Schema< builder), required UpdateWhereBuilder<User> , User, void>Schema< update(UpdateWhereBuilder<User> , User, User>Schema< builder), required DeleteWhereBuilder<User> , User, void>Schema< delete(DeleteWhereBuilder<User> , User, User>Schema< builder)})User> , User, void> -
A driver's RETURNING capability, declared by passing it to
testDriverConformance.const
Properties
-
delete
→ DeleteWhereBuilder<
Schema< Function(DeleteWhereBuilder<User> , User, User>Schema< builder)User> , User, void> -
The driver's
returning()applied to a fixture delete.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
insert
→ InsertWithValuesBuilder<
Schema< Function(InsertWithValuesBuilder<User> , User, User>Schema< builder)User> , User, void> -
The driver's
returning()applied to a fixture insert.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
update
→ UpdateWhereBuilder<
Schema< Function(UpdateWhereBuilder<User> , User, User>Schema< builder)User> , User, void> -
The driver's
returning()applied to a fixture update.final
Methods
-
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