countEntries method
Count the entries of this table with where
if required.
Implementation
Future<int> countEntries({
ConditionQuery Function(T model)? where,
}) async {
return await queryFirstValue((s) => s.id.count(), where: where);
}
Count the entries of this table with where
if required.
Future<int> countEntries({
ConditionQuery Function(T model)? where,
}) async {
return await queryFirstValue((s) => s.id.count(), where: where);
}