Alias PreparedImpl.queryTuple

Execute a prepared SQL SELECT command where you only want the first Row, and place result values into a set of D variables.

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

This method will throw if any column type is incompatible with the corresponding D variable.

Unlike the other query functions, queryRowTuple will throw MySQLException if the result set is empty (and thus the reference variables passed in cannot be filled).

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

Parameters

NameDescription
args A tuple of D variables to receive the results.