mysql.Statement
generated from ../src/mod_mysql/stmt.cppKeeps the result of a query.
Constants
Properties
Methods
bind
bind(Bindings) : Boolean
| Name | Type | Default | Description |
|---|---|---|---|
| Bindings | Array |
bind(Pos,
Value) : Boolean
| Name | Type | Default | Description |
|---|---|---|---|
| Pos | Integer | The position of the parameter (zero-indexed) | |
| Value | Mixed |
The method bind is used to bind input data for the parameter markers in
the SQL statement that was passed to prepare.
The array must contain one element for each "?" parameter
marker that is present in the query.
execute
execute() : Boolean
Executes the prepared statement
fetchArray
fetchArray() : Array
Returns the next row as an array.
fetchObject
fetchObject() : Object
Returns the next row as an object. The name of the field is used as name of the property.

© 2002 - 2007 Franky Braem.