findWhereInRelation method
Implementation
Future<List> findWhereInRelation({
Database? database,
required Entity entity,
required List<Column> columns,
String? whereParameters,
String? orderParameters,
List<String>? fields,
}) async {
final Database db = database != null ? database : this.database;
return (await db.query(entity.tableName,
where: whereParameters, orderBy: orderParameters, columns: fields));
}