whereMap method
Future<List<Map<String, dynamic> > >
whereMap({
- Iterable<
ColumnDefinition< ? columns(IEntity, dynamic> >- TMeta t
- List<
OrmOrder> ? orderBy(- TMeta t
- Filter filter(
- TMeta t
- int? limit,
- int? offset,
- bool? useIsolate,
- Map<
String, dynamic> ? isolateArgs, - void onIsolatePreMap()?,
inherited
Implementation
@override
Future<List<Map<String, dynamic>>> whereMap({
Iterable<ColumnDefinition>? Function(TMeta t)? columns,
List<OrmOrder>? Function(TMeta t)? orderBy,
Filter Function(TMeta t)? filter,
int? limit,
int? offset,
final bool? useIsolate,
Map<String, dynamic>? isolateArgs,
void Function(Map<String, dynamic>? isolateArgs)? onIsolatePreMap,
}) async {
List<Map<String, Object?>> maps = await queryMap(
where: filter,
limit: limit,
offset: offset,
columns: columns ?? (t) => t.columns,
orderBy: orderBy,
useIsolate: useIsolate,
isolateArgs: isolateArgs,
onIsolatePreMap: onIsolatePreMap,
);
if (maps.isNotEmpty) {
return maps;
}
return [];
}