The QueryResult interface provides the functionality common to all query results.
For example, you can determine if the query ran successfully and how many table rows were affected.
Located in /harmoni/core/DBHandler/QueryResult.interface.php (line 24)
Class | Description |
---|---|
DeleteQueryResultInterface | The DELETEQueryResult interface provides the functionality common to all DELETE query results. |
GenericQueryResultInterface | The GenericQueryResult interface provides methods for accessing the results of a generic query. These results can be returned as if they were one of the other query types, or the resource links can be returned and accessed directly. |
InsertQueryResultInterface | The InsertQueryResult interface provides the functionality common to all INSERT query results. |
SelectQueryResultInterface | The SelectQueryResult interface provides the functionality common to a SELECT query result. |
UpdateQueryResultInterface | The UPDATEQueryResult interface provides the functionality common to all UPDATE query results. |
Returns the number of rows that the query processed.
Returns the number of rows that the query processed. For a SELECT query, this would be the total number of rows selected. For a DELETE, UPDATE, or INSERT query, this would be the number of rows that were affected.
Documentation generated on Wed, 19 Sep 2007 10:25:45 -0400 by phpDocumentor 1.3.0RC3