getRandomEntry method
Get a random entry from this table.
Implementation
Future<T?> getRandomEntry({ConditionQuery Function(T model)? where}) async {
return selectFirst(where: where, orderBy: (s) => [s.id.randomOrder]);
}
Get a random entry from this table.
Future<T?> getRandomEntry({ConditionQuery Function(T model)? where}) async {
return selectFirst(where: where, orderBy: (s) => [s.id.randomOrder]);
}