SqlFlavorMixin mixin

A mixin for SqlFlavor that allows callers to plug in flavors on demand. For example,

FooEntity fe = await access.load(...);
...
fe.insertFlavor = onConflictDoNothing;
Implemented types

Properties

deleteFlavor ↔ (String Function(String sql, Map? data)?)
A callback to return the adjusted SQL DELETE statement (sql).
getter/setter pairoverride-getter
hashCode int
The hash code for this object.
no setterinherited
insertFlavor ↔ (String Function(String sql, Map? data)?)
A callback to return the adjusted SQL INSERT statement (sql).
getter/setter pairoverride-getter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updateFlavor ↔ (String Function(String sql, Map? data)?)
A callback to return the adjusted SQL UPDATE statement (sql).
getter/setter pairoverride-getter

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