This method sends the given
statement to the
MySQL server and returns a result. If you need to send multiple
statements, you have to use the
The returned dictionary contains information depending on what
kind of query was executed. If the query is a
SELECT statement, the result
contains information about columns. Other statements return a
dictionary containing OK or EOF packet information.
Errors received from the MySQL server are raised as exceptions.
InterfaceError is raised when multiple
results are found.
Returns a dictionary.