Class PostgreSQLDeleteQueryResult

Description

Implements interfaces:

The DeleteQueryResult interface provides the functionality common to all Delete query results.

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

  • version: $Id: PostgreSQLDeleteQueryResult.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/PostgreSQLDeleteQueryResult.class.php (line 24)


	
			
Variable Summary
integer $_numberOfRows
integer $_resourceId
Method Summary
PostgreSQLDeleteQueryResult PostgreSQLDeleteQueryResult (integer $resourceId)
integer getNumberOfRows ()
Variables
integer $_numberOfRows (line 42)

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 33)

The resource id for this query.

  • var: __resourceId
  • access: private
Methods
Constructor PostgreSQLDeleteQueryResult (line 50)

The constructor.

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

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