mirror of
https://github.com/miniflux/v2.git
synced 2025-08-01 17:38:37 +00:00
Add indexes to improve performance
This commit is contained in:
parent
6086899b28
commit
5dc44453ba
2 changed files with 18 additions and 2 deletions
|
@ -212,8 +212,8 @@ func (e *EntryQueryBuilder) WithOffset(offset int) *EntryQueryBuilder {
|
|||
}
|
||||
|
||||
func (e *EntryQueryBuilder) WithGloballyVisible() *EntryQueryBuilder {
|
||||
e.conditions = append(e.conditions, "not c.hide_globally")
|
||||
e.conditions = append(e.conditions, "not f.hide_globally")
|
||||
e.conditions = append(e.conditions, "c.hide_globally IS FALSE")
|
||||
e.conditions = append(e.conditions, "f.hide_globally IS FALSE")
|
||||
return e
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue