Constructor. You probably want mysql.safe.connection.prepare instead of this.
Prepared statement parameter getter.
Prepared statement parameter setter.
Bind a tuple of D variables to the parameters of a prepared statement.
Bind a MySQLVal[] as the parameters of a prepared statement.
Sets a prepared statement parameter to NULL.
Gets the SQL command for this prepared statement.
Get/set the column specializations.
Get/set the column specializations.
After a command that inserted a row into a table with an auto-increment ID column, this method allows you to retrieve the last insert ID generated from this prepared statement.
Gets the number of arguments this prepared statement expects to be passed in.
Gets the prepared header's field descriptions.
Gets the prepared header's param descriptions.
Number of parameters this prepared statement takes
Encapsulation of a prepared statement.
Create this via the function mysql.safe.connection.prepare. Set your arguments (if any) via the functions provided, and then run the statement by passing it to mysql.safe.commands.exec/mysql.safe.commands.query/etc in place of the sql string parameter.
Commands that are expected to return a result set - queries - have distinctive methods that are enforced. That is it will be an error to call such a method with an SQL command that does not produce a result set. So for commands like SELECT, use the mysql.safe.commands.query functions. For other commands, like INSERT/UPDATE/CREATE/etc, use mysql.safe.commands.exec.