Interface GenericQueryResultInterface

Description

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.

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

Located in /harmoni/core/DBHandler/GenericQueryResult.interface.php (line 27)

QueryResultInterface
   |
   --GenericQueryResultInterface
Direct descendents
Class Description
OracleGenericQueryResult 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.
Method Summary
integer getResourceId ()
object DeleteQueryResult returnAsDeleteQueryResult ()
object InsertQueryResult returnAsInsertQueryResult ()
object SelectQueryResult returnAsSelectQueryResult ()
object UpdateQueryResult returnAsUpdateQueryResult ()
Methods
getResourceId (line 38)

Returns the resource id for this SELECT query.

Returns the resource id for this SELECT query. The resource id is returned by the mysql_query() function.

  • return: The resource id for this SELECT query.
  • access: public
integer getResourceId ()

Redefined in descendants as:
returnAsDeleteQueryResult (line 74)

Returns the result of the query as a DeleteQueryResult.

  • since: 7/1/04
  • access: public
object DeleteQueryResult returnAsDeleteQueryResult ()

Redefined in descendants as:
returnAsInsertQueryResult (line 56)

Returns the result of the query as an InsertQueryResult.

  • since: 7/1/04
  • access: public
object InsertQueryResult returnAsInsertQueryResult ()

Redefined in descendants as:
returnAsSelectQueryResult (line 47)

Returns the result of the query as a SelectQueryResult.

  • since: 7/1/04
  • access: public
object SelectQueryResult returnAsSelectQueryResult ()

Redefined in descendants as:
returnAsUpdateQueryResult (line 65)

Returns the result of the query as a UpdateQueryResult.

  • since: 7/1/04
  • access: public
object UpdateQueryResult returnAsUpdateQueryResult ()

Redefined in descendants as:

Inherited Methods

Inherited From QueryResultInterface

QueryResultInterface::getNumberOfRows()

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