We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba560f2 commit 60c212bCopy full SHA for 60c212b
1 file changed
rust/ql/lib/codeql/rust/frameworks/Sqlx.qll
@@ -14,7 +14,7 @@ private class SqlxQuery extends SqlConstruction::Range {
14
15
SqlxQuery() {
16
this.asExpr().getExpr() = call and
17
- call.getExpr().(PathExpr).getPath().getResolvedPath() =
+ call.getFunction().(PathExpr).getPath().getResolvedPath() =
18
[
19
"crate::query::query", "crate::query_as::query_as", "crate::query_with::query_with",
20
"crate::query_as_with::query_as_with", "crate::query_scalar::query_scalar",
0 commit comments