use of io.requery.android.sqlite.CursorResultSet in project requery by requery.
the class SqlitexPreparedStatement method executeQuery.
@Override
public ResultSet executeQuery() throws SQLException {
try {
String[] args = bindingsToArray();
cursor = connection.getDatabase().rawQuery(getSql(), args);
return queryResult = new CursorResultSet(this, cursor, false);
} catch (SQLiteException e) {
SqlitexConnection.throwSQLException(e);
}
return null;
}
use of io.requery.android.sqlite.CursorResultSet in project requery by requery.
the class SqlCipherPreparedStatement method executeQuery.
@Override
public ResultSet executeQuery() throws SQLException {
try {
String[] args = bindingsToArray();
cursor = connection.getDatabase().rawQuery(getSql(), args);
return queryResult = new CursorResultSet(this, cursor, false);
} catch (SQLiteException e) {
SqlCipherConnection.throwSQLException(e);
}
return null;
}
Aggregations