select method
A select query
Implementation
Future<List<DbRow>> select(
{required String table,
String columns = "*",
String? where,
String? orderBy,
int? limit,
int? offset,
String? groupBy,
bool verbose = false}) async {
List<Map<String, dynamic>>? data;
try {
data = await _db.select(
table: table,
columns: columns,
where: where,
orderBy: orderBy,
limit: limit,
offset: offset,
groupBy: groupBy,
verbose: verbose);
} catch (e) {
rethrow;
}
return _rowsFromRawData(table, data!);
}