Last updated 2 months ago
Count the total number of records in the table based on the provided conditions.
$where
<StaticProps>
$options
⇒
var count = await Member.$count({ $where: { userId: { $endsWith: '9' } }, $options: { $logging(sql, benchmark) { console.log(sql,benchmark); }, } });
<FindOptions>