pQuery.toString¶
Signature: pQuery.toString()
Returns: String queryString - the pQuery with the original query and parameters
Returns the query and parameters as a string.
Parameters¶
None
Example¶
// Create the pQuery object with the query to be executed
var pQuery = qie.getParameterizedQuery(
"insert into patient (name, balance) values (:name, :balance)");
pQuery.setString("name", "Ada Lovelace");
pQuery.setDouble("balance", 96.25);
/* Prints the query + the parameters in a pretty way */
qie.debug(pQuery.toString());