User Guide

1058 Chapter 7: ColdFusion C++ CFX Reference
CCFXQuery class
An abstract class that represents a query used or created by a ColdFusion Extension (CFX).
Queries contain one or more columns of data that extend over a varying number of rows.
Class methods
CCFXQuery::AddRow
Syntax
int CCFXQuery::AddRow(void)
Description
Add a row to the query. Call this function to append a row to a query.
Returns
Returns the index of the row that was appended to a query.
virtual int AddRow()
CCFXQuery::AddRow
adds a row to a query.
virtual CCFXStringSet* GetColumns
CCFXQuery::GetColumns
retrieves a list of a
query's column names.
virtual LPCSTR GetData( int iRow, int
iColumn )
CCFXQuery::GetData
retrieves a data element
from a row and column of a query.
virtual LPCSTR GetName()
CCFXQuery::GetName retrieves the name of a
query.
virtual int GetRowCount()
CCFXQuery::GetRowCount
retrieves the number of
rows in a query.
virtual void SetData( int iRow, int iColumn,
LPCSTR lpszData )
CCFXQuery::SetData
sets a data element within a
row and column of a query.
virtual void SetQueryString( LPCSTR
lpszQuery )
This function is deprecated. It might not work,
and might cause an error, in later releases.
virtual void SetTotalTime( DWORD
dwMilliseconds )
This function is deprecated. It might not work,
and might cause an error, in later releases.