use of org.h2.result.ResultInterface in project h2database by h2database.
the class H2Database method rawQuery.
/**
* Execute the query.
*
* @param sql the SQL statement
* @param selectionArgs the parameter values
* @return the cursor
*/
public Cursor rawQuery(String sql, String[] selectionArgs) {
Prepared prep = prepare(sql, selectionArgs);
ResultInterface result = prep.query(0);
return new H2Cursor(result);
}
Aggregations