Skip to content

pQuery.getRawQuery

Signature: pQuery.getRawQuery()

Returns: String queryString - the query used to create this ParameterizedQuery object

Return the query used in the getParameterizedQuery function to create this ParameterizedQuery object.

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);

var rawQuery = pQuery.getRawQuery(); // rawQuery is the original query used to create this pQuery object.