Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

MCDBResultSetMetaData Class Reference

Meta data about a result set Meta data holds key/value pairs containing driver dependent data describing a result set in more detail. More...

#include <mcllib/db/MCDBResultSetMetaData.h>

Inheritance diagram for MCDBResultSetMetaData:

MCDBMetaData MCDictionary MCBase List of all members.

Public Member Functions

mcllib::mcint64 getColumnCount () const
 Get the number of columns in the result set.
const mcllib::mcint64 getColumnDisplaySize (mcllib::mcint64 col) const
 Get the display size of a column.
const mcllib::MCStringgetColumnName (mcllib::mcint64 col) const
 Get the name of a column in the result set.
const mcllib::mcuint32 getColumnType (mcllib::mcint64 col) const
 Get the variant type id of a column (see MCVariantType).
mcllib::MCVariantType getInsertId () const
 Get insert id from insert statement.
 MCDBResultSetMetaData ()
 Construct a result set meta data.

Friends

class MCDBResultSet

Detailed Description

Meta data about a result set Meta data holds key/value pairs containing driver dependent data describing a result set in more detail.

Consult driver documentation for the keys available


Member Function Documentation

mcllib::MCVariantType getInsertId  )  const
 

Get insert id from insert statement.

If the previous statement was not an insert statement, or if the insert was not into a table with a DB generated id column, then -1 is returned


Generated on Wed Jan 12 19:05:51 2005 for MCLLIB by  doxygen 1.3.9.1