mirror of
https://github.com/yanislav-igonin/micrach
synced 2025-07-01 17:01:14 +03:00
update GetCount (not archived threads)
This commit is contained in:
parent
f577dbcc7f
commit
bbed93965d
@ -66,6 +66,7 @@ func (r *PostsRepository) GetCount() (int, error) {
|
||||
WHERE
|
||||
is_parent = true
|
||||
AND is_deleted != true
|
||||
AND is_archived != true
|
||||
`
|
||||
|
||||
row := Db.Pool.QueryRow(context.TODO(), sql)
|
||||
|
Loading…
Reference in New Issue
Block a user