Interface QueryResultInterface

Description

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.

  • version: $Id: QueryResult.interface.php,v 1.4 2007/09/05 21:38:59 adamfranco Exp $
  • license: GNU General Public License (GPL)
  • copyright: Copyright © 2005, Middlebury College

Located in /harmoni/core/DBHandler/QueryResult.interface.php (line 24)


	
			
Direct descendents
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.
Method Summary
integer getNumberOfRows ()
Methods
getNumberOfRows (line 34)

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.

  • return: Number of rows that were processed by the query.
  • access: public
integer getNumberOfRows ()

Documentation generated on Wed, 19 Sep 2007 10:25:45 -0400 by phpDocumentor 1.3.0RC3