projects
/
websub-hub
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
bump package version to 1.3.12
[websub-hub]
/
src
/
db
/
postgres
/
sql
/
subscription-count-by-topic-url.sql
1
--
2
SELECT COUNT
(
s.
id
)
AS count
3
FROM
subscription s
4
JOIN
topic t
ON
s.topic_id
=
t.
id
5
WHERE
t.url
=
$
(
topicUrl
)
AND
s.expires
>
now
()