Relation<C extends Columns, K extends Key, R extends Row> class
abstract
Methods
-
createInitQueries()
→ List<Query>
-
-
delete(Session session, Object key)
→ Future<int>
-
-
deleteAll(Session session, {Expr<bool>? where(C columns)?, int? limit})
→ Future<int>
-
-
init(Session session)
→ Future<void>
-
-
insert(Session session, dynamic items, {List<Object>? columns(C columns)?, bool? upsert, bool? onConflictDoNothing})
→ Future<int>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
paginate(Session session, {List<Object>? columns(C columns)?, Expr<bool>? where(C columns)?, int pageSize = 100, K? startAfter})
→ Future<Page<R>>
-
-
query(Session session, {List<Object>? columns(C columns)?, Expr<bool>? where(C columns)?, List<Object>? orderBy(C columns)?, int? limit})
→ Future<List<R>>
-
-
read(Session session, Object key, {List<Object>? columns(C columns)?})
→ Future<R?>
-
-
rowFn(ResultRow row)
→ R
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
update(Session session, Object key, List<Expr<void>> set(C columns))
→ Future<int>
-
-
updateAll(Session session, {required List<Expr<void>> set(C columns), Expr<bool>? where(C columns)?, int? limit})
→ Future<int>
-
-
whereFromKeyFn(C columns, K key)
→ Expr<bool>
-