TableOf<M extends TableModel<E>, E> class
Constructors
-
TableOf(M creator(AnyMap))
-
Methods
-
delete({required Where where, Returning? returning, SQLExecutor? executor})
→ Future<QueryResult>
-
-
deleteBy({required Object key, Returning? returning, SQLExecutor? executor})
→ Future<QueryResult>
-
xx(key: 1, ...)
xx(key:
1,name,...)
support union primary key(s)
-
dump({SQLExecutor? executor})
→ void
-
-
insert({required List<ColumnValue<Object>> values, Returning? returning, SQLExecutor? executor})
→ Future<RowData?>
-
-
insertAll({required List<List<ColumnValue<Object>>> rows, Returning? returning, SQLExecutor? executor})
→ Future<List<RowData>>
-
-
listColumn<V>({required Object column, Where? where, Object? groupBy, Object? having, Object? window, Object? orderBy, int? limit, int? offset, SQLExecutor? executor})
→ Future<List<V>>
-
-
listModel({Where? where, Object? groupBy, Object? having, Object? window, Object? orderBy, int? limit, int? offset, SQLExecutor? executor})
→ Future<List<M>>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
oneBy({required Object key, Object? groupBy, Object? having, Object? window, Object? orderBy, SQLExecutor? executor})
→ Future<M?>
-
xx(key: 1, ...)
xx(key:
1,name,...)
support union primary key(s)
-
oneModel({Where? where, Object? groupBy, Object? having, Object? window, Object? orderBy, SQLExecutor? executor})
→ Future<M?>
-
-
oneValue<V>({required Object column, Where? where, Object? groupBy, Object? having, Object? window, Object? orderBy, SQLExecutor? executor})
→ Future<V?>
-
-
query({List<Object>? columns, Where? where, Object? groupBy, Object? having, Object? window, Object? orderBy, int? limit, int? offset, SQLExecutor? executor})
→ Future<QueryResult>
-
-
save(M? item, {SQLExecutor? executor})
→ Future<RowData?>
-
-
saveAll(List<M> items, {SQLExecutor? executor})
→ Future<List<RowData?>>
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
update({required List<ColumnValue<Object>> values, required Where where, Returning? returning, SQLExecutor? executor})
→ Future<QueryResult>
-
-
updateBy({required Object key, required List<ColumnValue<Object>> values, Returning? returning, SQLExecutor? executor})
→ Future<QueryResult>
-
xx(key: 1, ...)
xx(key:
1,name,...)
support union primary key(s)
-
upsert({required List<ColumnValue<Object>> values, Returning? returning, SQLExecutor? executor})
→ Future<RowData?>
-