diff --git a/database/pgsql/queries.go b/database/pgsql/queries.go index 64e5b20a..c7bd689b 100644 --- a/database/pgsql/queries.go +++ b/database/pgsql/queries.go @@ -413,6 +413,6 @@ func queryPersistLayer(count int) string { func queryInvalidateVulnerabilityCache(count int) string { return fmt.Sprintf(`DELETE FROM vulnerability_affected_feature - WHERE vulnerability_id = (%s)`, + WHERE vulnerability_id IN (%s)`, queryString(1, count)) }