MCPcopy Index your code
hub / github.com/apache/groovy / getParameters

Method getParameters

subprojects/groovy-sql/src/main/java/groovy/sql/Sql.java:4762–4764  ·  view source on GitHub ↗

Hook to allow derived classes to override behavior associated with extracting params from a GString. @param gstring a GString containing the SQL query with embedded params @return extracts the parameters from the expression as a List @see #expand(Object)

(GString gstring)

Source from the content-addressed store, hash-verified

4760 * @see #expand(Object)
4761 */
4762 protected List<Object> getParameters(GString gstring) {
4763 return new ArrayList<>(Arrays.asList(gstring.getValues()));
4764 }
4765
4766 /**
4767 * Hook to allow derived classes to override behavior associated with

Callers 15

queryMethod · 0.95
eachRowMethod · 0.95
rowsMethod · 0.95
firstRowMethod · 0.95
executeMethod · 0.95
executeInsertMethod · 0.95
executeUpdateMethod · 0.95
callMethod · 0.95
callWithRowsMethod · 0.95
callWithAllRowsMethod · 0.95
DOMethod · 0.45
createClosureClassMethod · 0.45

Calls 2

getValuesMethod · 0.65
asListMethod · 0.45

Tested by

no test coverage detected