We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f171c21 commit 6feda75Copy full SHA for 6feda75
ruby/ql/lib/codeql/ruby/frameworks/Sqlite3.qll
@@ -22,6 +22,7 @@ module Sqlite3 {
22
private API::Node dbInstance() {
23
result = databaseConst().getInstance()
24
or
25
+ // e.g. SQLite3::Database.new("foo.db") |db| { db.some_method }
26
result = databaseConst().getMethod("new").getBlock().getParameter(0)
27
}
28
0 commit comments