Class MySQLUpdateQueryResult

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: MySQLUpdateQueryResult.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/MySQLUpdateQueryResult.class.php (line 26)


	
			
Variable Summary
mixed $_linkId
integer $_numberOfRows
Method Summary
object MySQLINSERTQueryResult MySQLUpdateQueryResult (integer $linkId)
integer getNumberOfRows ()
Variables
mixed $_linkId (line 37)

The link identifier for the database connection.

The link identifier for the database connection.

  • access: private
integer $_numberOfRows (line 46)

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 MySQLUpdateQueryResult (line 57)

Creates a new MySQLINSERTQueryResult object.

Creates a new MySQLINSERTQueryResult object.

  • return: A new MySQLINSERTQueryResult object.
  • access: public
object MySQLINSERTQueryResult MySQLUpdateQueryResult (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 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:12 -0400 by phpDocumentor 1.3.0RC3