mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-23 18:56:10 +00:00
![Sean Quah](/assets/img/avatar_default.png)
`COUNT()` never returns `NULL`. A `COUNT(*)` over 0 rows is 0 and a `COUNT(NULL)` is also 0.
2 lines
70 B
Plaintext
2 lines
70 B
Plaintext
Remove redundant `COALESCE()`s around `COUNT()`s in database queries.
|