PreparedImpl.querySet

Execute a prepared SQL SELECT command where you expect the entire result set all at once.

This is deprecated because the same thing can be achieved via query(). array().

If the SQL command does not produce a result set (such as INSERT/CREATE/etc), then mysql.exceptions.MYXNoResultRecieved will be thrown. Use exec instead for such commands.

If there are long data items among the expected result columns you can use the csa param to specify that they are to be subject to chunked transfer via a delegate.

More...
struct PreparedImpl
deprecated
querySet

Return Value

Type: ResultSet

A (possibly empty) ResultSet.

Detailed Description

Type Mappings

$(TYPE_MAPPINGS)

Examples

// Do this instead of using querySet:
Row[] allAtOnce = myPrepared.query("SELECT * from myTable").array;

Meta