This method is used with a PREPARED variable:
variable.GetStatement()
It returns the text of the SQL statement or statements which have been prepared using prepare() with the same variable. It can be used only if the PREPARED variable has been initialized using prepare() first.
This method accepts no parameters and returns one value which is the text of the prepared SQL statement:
CALL prep_v.GetStatement() RETURNING cur_name