mysql-native v3.0.0

API Reference Home: [This Version] [Latest Version] [Other Versions]


Class MYXWrongFunction

Common base class of MYXResultRecieved and MYXNoResultRecieved.

class MYXWrongFunction
  : MYX ;

Thrown when making the wrong choice between exec versus query.

The query functions (query, queryRow, etc.) are for SQL statements such as SELECT that return results (even if the result set has zero elements.)

The exec functions are for SQL statements, such as INSERT, that never return result sets, but may return rowsAffected.

Using one of those functions, when the other should have been used instead, results in an exception derived from this.

Constructors

NameDescription
this