aboutcode-org / aboutcode-org/vulnerablecode

'Q' object is needed only for complex queries

未關閉
#878 0 則留言 0 個 reaction 已指派 1 人 已被 @johnmhoran 認領 在 GitHub 檢視
ui
主要語言
Python
星號
702
分支
328
平均合併
3 天 8 小時
30 天內合併 PR
3

描述

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

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。