blob: 2201b1ef6dcfef3f41203ecda4a10417cb137ca4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import sql from './index'
/**
* Count users
*/
export async function get_count() {
const count = await sql`
select
count(*)
from users
where banned=0
`
return count
}
|