Function querySet
Execute a one-off SQL command for the case where you expect a result set, and want it all at once.
Use this method when you are not going to be using the same command repeatedly. This method will throw if the SQL command does not produce a result set.
If there are long data items among the expected result columns you can specify that they are to be subject to chunked transfer via a delegate.
Prototype
ResultSet querySet(
Connection conn,
string sql,
ColumnSpecialization[] csa = null
);
Parameters
Name | Description |
---|---|
csa | An optional array of ColumnSpecialization structs. |
Returns
A (possibly empty) ResultSet.