prepareProcedure

Convenience function to create a prepared statement which calls a stored procedure.

OUT parameters are currently not supported. It should generally be possible with MySQL to present them as a result set.

Be careful that your numArgs is correct. If it isn't, you may get a mysql.exceptions.MYX with a very unclear error message.

prepareProcedure

Parameters

conn Connection

The connection.

name string

The name of the stored procedure.

numArgs int

The number of arguments the stored procedure takes.

Throws

mysql.exceptions.MYX if the server has a problem.

Meta