aboutcode-org / aboutcode-org/vulnerablecode

'Q' object is needed only for complex queries

Aperta
#878 0 commenti 0 reazioni 1 assegnatario Rivendicata da @johnmhoran Vedi su GitHub
ui
Lingua principale
Python
Stelle
702
Fork
328
Merge medio
3g 8h
PR unite (30g)
3

Descrizione

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().

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.