Note: This is an internal API and breaking changes can be made without prior notice.
Returns the PostgreSQL-style query parameters ($1, $2, ...) in the given SQL string. The
SQL-string is assumed to not contain any comments. Use #removeCommentsAndTrim(String)
to remove all comments before calling this method. Occurrences of query-parameter like strings
inside quoted identifiers or string literals are ignored.
The following example will return a set containing ("$1", "$2").
select col1, col2, "col$4"
from some_table
where col1=$1 and col2=$2
and not col3=$1 and col4='$3'
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-05 UTC."],[],[]]