Skip to content

Commit 999ec70

Browse files
committed
fix Query class docstring
1 parent 36f0a78 commit 999ec70

File tree

1 file changed

+5
-1
lines changed
  • javascript/ql/lib/semmle/javascript/frameworks

1 file changed

+5
-1
lines changed

javascript/ql/lib/semmle/javascript/frameworks/SQL.qll

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,11 @@ private module Postgres {
122122
}
123123
}
124124

125-
/** Gets a Postgres Query member. */
125+
/**
126+
* Gets a Postgres Query class.
127+
*
128+
* Please note that according to [this documentation](https://node-postgres.com/apis/client) this is an advance feature
129+
*/
126130
API::Node query() { result = API::moduleImport("pg").getMember("Query") }
127131

128132
/** An expression that is passed to the `query` method and hence interpreted as SQL. */

0 commit comments

Comments
 (0)