count static method
- @Deprecated('Will be removed in 2.0.0. Use: db.count instead.')
Future<int>
count(
- Session session, {
- WhereExpressionBuilder<UserInfoTable>? where,
- int? limit,
- bool useCache = true,
- Transaction? transaction,
})
Implementation
@Deprecated('Will be removed in 2.0.0. Use: db.count instead.')
static Future<int> count(
_i1.Session session, {
_i1.WhereExpressionBuilder<UserInfoTable>? where,
int? limit,
bool useCache = true,
_i1.Transaction? transaction,
}) async {
return session.db.count<UserInfo>(
where: where != null ? where(UserInfo.t) : null,
limit: limit,
useCache: useCache,
transaction: transaction,
);
}