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