We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fedd32f commit 7305a87Copy full SHA for 7305a87
javascript/ql/src/semmle/javascript/frameworks/NoSQL.qll
@@ -813,7 +813,8 @@ private module MarsDB {
813
private DataFlow::SourceNode getACollection(DataFlow::TypeTracker t) {
814
t.start() and
815
// new Collection(...)
816
- result = getADb(DataFlow::TypeTracker::end()).getAPropertyRead("Collection").getAnInstantiation()
+ result =
817
+ getADb(DataFlow::TypeTracker::end()).getAPropertyRead("Collection").getAnInstantiation()
818
or
819
exists(DataFlow::TypeTracker t2 | result = getACollection(t2).track(t2, t))
820
}
0 commit comments