Alias PreparedImpl.querySequence

Execute a prepared SQL SELECT command where you want to deal with the result set one row at a time.

If you need random access to the resulting Row elements, simply call std.array.array() on the result.

If the SQL command does not produce a result set (such as INSERT/CREATE/etc), then mysql.exceptions.MySQLNoResultRecievedException 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.

Declaration

struct PreparedImpl
{
  // ...
  alias deprecated querySequence;
  // ...
}

Parameters

NameDescription
csa An optional array of ColumnSpecialization structs.

Returns

A (possibly empty) ResultRange.

Authors

Copyright

License