Skip to content

Commit

Permalink
Count capitalization
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Heckel committed Nov 29, 2021
1 parent ccccae9 commit e3debf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/cache_sqlite.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const (
ORDER BY time ASC
`
selectMessagesCountQuery = `SELECT COUNT(*) FROM messages`
selectMessageCountForTopicQuery = `SELECT count(*) FROM messages WHERE topic = ?`
selectMessageCountForTopicQuery = `SELECT COUNT(*) FROM messages WHERE topic = ?`
selectTopicsQuery = `SELECT topic, MAX(time) FROM messages GROUP BY topic`
)

Expand Down

0 comments on commit e3debf4

Please sign in to comment.