Class MySQLDeleteQueryResult

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: MySQLDeleteQueryResult.class.php,v 1.6 2007/09/05 21:39:00 adamfranco Exp $
  • license: GNU General Public License (GPL)
  • copyright: Copyright © 2005, Middlebury College

Located in /harmoni/core/DBHandler/MySQL/MySQLDeleteQueryResult.class.php (line 26)


	
			
Variable Summary
mixed $_linkId
integer $_numberOfRows
Method Summary
Variables
mixed $_linkId (line 37)

The link identifier for the database connection.

The link identifier for the database connection.

  • access: private
integer $_numberOfRows (line 47)

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
Methods
Constructor MySQLDeleteQueryResult (line 57)

Creates a new MySQLDeleteQueryResult object.

Creates a new MySQLDeleteQueryResult object.

  • return: A new MySQLDeleteQueryResult object.
  • access: public
object MySQLDeleteQueryResult MySQLDeleteQueryResult (integer $linkId)
  • integer $linkId: The link identifier for the database connection.
getNumberOfRows (line 78)

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:11 -0400 by phpDocumentor 1.3.0RC3