Class PostgreSQLUpdateQueryResult

Description

Implements interfaces:

The UPDATEQueryResult interface provides the functionality common to all UPDATE query results.

For example, you can get the primary key for the last UPDATEion, get number of UPDATEed rows, etc.

  • version: $Id: PostgreSQLUpdateQueryResult.class.php,v 1.1 2007/09/14 13:57:08 adamfranco Exp $
  • license: GNU General Public License (GPL)
  • copyright: Copyright © 2005, Middlebury College

Located in /harmoni/core/DBHandler/PostgreSQL/PostgreSQLUpdateQueryResult.class.php (line 24)


	
			
Variable Summary
integer $_numberOfRows
integer $_resourceId
Method Summary
PostgreSQLUpdateQueryResult PostgreSQLUpdateQueryResult (integer $resourceId)
integer getNumberOfRows ()
Variables
integer $_numberOfRows (line 44)

Stores the number of rows processed by the query.

Stores the number of rows processed by the query.

  • var: The number of rows processed by the query.
  • access: private
integer $_resourceId (line 35)

The resource id for this query.

  • var: __resourceId
  • access: private
Methods
Constructor PostgreSQLUpdateQueryResult (line 53)

The constructor.

  • access: public
PostgreSQLUpdateQueryResult PostgreSQLUpdateQueryResult (integer $resourceId)
  • integer $resourceId: The resource id for this query.
getNumberOfRows (line 73)

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, INSERT, or UPDATE 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:34 -0400 by phpDocumentor 1.3.0RC3