|
Sets the maximum number of rows to return from db. This will affect the SQL if the RDBMS supports native LIMIT; if not, it will be emulated. Limit only applies to queries (not update sql).
Returns void Reimplemented in StatementCommon. |
|
Returns the maximum number of rows to return or 0 for all. Returns int Reimplemented in StatementCommon. |
|
Sets the start row. This will affect the SQL if the RDBMS supports native OFFSET; if not, it will be emulated. Offset only applies to queries (not update) and only is evaluated when LIMIT is set!
Returns void Reimplemented in StatementCommon. |
|
Returns the start row. Offset only applies when Limit is set! Returns int Reimplemented in StatementCommon. |
|
Free resources associated with this statement. Some drivers will need to implement this method to free database result resources.
Returns void Reimplemented in StatementCommon. |
|
Generic execute() function has to check to see whether SQL is an update or select query. If you already know whether it's a SELECT or an update (manipulating) SQL, then use the appropriate method, as this one will incurr overhead to check the SQL.
Returns boolean True if it is a result set, false if not or if no more results (this is identical to JDBC return val).
Reimplemented in StatementCommon. |
|
Get result set. This assumes that the last thing done was an executeQuery() or an execute() with SELECT-type query.
Returns RestultSet (or null if none) Reimplemented in StatementCommon. |
|
Get update count.
Returns int Number of records affected, or Reimplemented in StatementCommon. |
|
Executes the SQL query in this PreparedStatement object and returns the resultset generated by the query.
Returns object Creole::ResultSet
Reimplemented in StatementCommon, and MSSQLStatement. |
|
Executes the SQL INSERT, UPDATE, or DELETE statement in this PreparedStatement object.
Returns int Number of affected rows (or 0 for drivers that return nothing).
Reimplemented in StatementCommon. |
|
Gets next result set (if this behavior is supported by driver). Some drivers (e.g. MSSQL) support returning multiple result sets -- e.g. from stored procedures. This function also closes any current restult set. Default behavior is for this function to return false. Driver-specific implementations of this class can override this method if they actually support multiple result sets.
Returns boolean True if there is another result set, otherwise false. Reimplemented in StatementCommon, and MSSQLStatement. |
|
Gets the db Connection that created this statement. Returns Connection Reimplemented in StatementCommon. |
This file is part of the Creole[php4] library.
Copyright © 2004 Hans Lellelid |   |
Creole[php4] CVS
|