PeerTube/server/core/models/video/sql
Chocobozzz d3dd952cc5
Try to optimize tagsOneOf/tagsAllOf SQL queries
Using a CTE because the query will probably return a few results
I tried a IN clause but PG doesn't seem to be more efficient with it
The CTE seems to be the only choice
2023-10-25 16:15:41 +02:00
..
comment
video Try to optimize tagsOneOf/tagsAllOf SQL queries 2023-10-25 16:15:41 +02:00