Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

sptkSQLResult Class Reference

#include <sptksqlresult.h>

Inheritance diagram for sptkSQLResult:

sptkObject List of all members.

Public Member Functions

virtual int affectedRows ()
virtual void * fetchArray ()
virtual void * fetchRow ()
virtual int insertID ()
virtual int numFields ()
virtual int numRows ()

Detailed Description

Author:
Sven Broenstrup


Member Function Documentation

virtual int sptkSQLResult::affectedRows   [virtual]
 

Get number of affected rows in the SQL query which created this object; see sptkSQLHandle->query().

Returns:
Number of rows

virtual void* sptkSQLResult::fetchArray   [virtual]
 

Fetch a result row as an associative array, a numeric array, or both.

Returns:
Array with results.

virtual void* sptkSQLResult::fetchRow   [virtual]
 

Get a result row as an enumerated array.

Returns:
Array with results.

virtual int sptkSQLResult::insertID   [virtual]
 

Get the ID generated from the previous INSERT operation.

Returns:
ID of new entry.

virtual int sptkSQLResult::numFields   [virtual]
 

Get number of fields in result.

Returns:
Number of fields.

virtual int sptkSQLResult::numRows   [virtual]
 

Get number of rows in result.

Returns:
Number of rows.


The documentation for this class was generated from the following file:
Powered by SPOM