BaseRepository class abstract

Implemented types

Constructors

BaseRepository(Session db, {required String tableName, String? keyName})

Properties

db Session
final
hashCode int
The hash code for this object.
no setterinherited
keyName String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tableName String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
query<T, U>(Query<T, U> query, U params) Future<T>
override
queryMany<T>(ViewQueryable<T> q, [QueryParams? params]) Future<List<T>>
queryOne<T, K>(K key, KeyedViewQueryable<T, K> q) Future<T?>
run<T>(Action<T> action, T request) Future<void>
override
toString() String
A string representation of this object.
inherited

Operators

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