RawQueryCapable mixin

The adapter supports raw queries for projections/aggregations without full entity hydration (#11).

This declares the rawQuery method itself (rather than adding it to the base adapter contracts) so opting in is non-breaking for existing adapters. Apply it with class MyAdapter extends LocalAdapter<T> with RawQueryCapable and implement rawQuery.

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rawQuery(DatumRawQuery query, {String? userId}) Future<List<DatumRawRow>>
Executes a raw query returning raw rows instead of hydrated entities.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited