aboutcode-org / aboutcode-org/vulnerablecode

'Q' object is needed only for complex queries

Open
#878 0 comments 0 reactions 1 assignee Claimed by @johnmhoran View on GitHub
ui
Dominant language
Python
Stars
702
Forks
328
Avg merge
3d 8h
Merged PRs (30d)
3

Description

From @tdruez 's comments in https://github.com/nexB/vulnerablecode/issues/875 .

![image](https://user-images.githubusercontent.com/11096678/186773537-f580c29d-767a-4a34-a1a8-1a46c704f036.png)

`Q` object is not needed here, it is only required for complex query such as applying OR between filters such as https://github.com/nexB/vulnerablecode/pull/813/files#diff-3e8fc96d993d0bd8585642f68239732a30a19b7ec100a36ee5d21e209625ff81R202.
This comment applies to all the place you have a single Q in your filter().

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.