RDbUpdate Class Reference

class RDbUpdate

Provides an interface to allow incremental execution of a DML (SQL data update) statement.

This class offers similar behaviour to the RDbIncremental class, in that it allows an application to perform long running operations while remaining responsive to events. However, unlike that class, RDbUpdate is restricted to executing DML statements.

RDbIncremental

Public Member Functions
IMPORT_C voidClose()
IMPORT_C TIntExecute(RDbDatabase &, const TDesC &, TDbTextComparison)
IMPORT_C TIntNext()
IMPORT_C voidNext(TRequestStatus &)
IMPORT_C TIntRowCount()
Private Attributes
TPckgBuf< TInt >iRows
RDbHandle< CDbIncremental >iUpdate

Member Functions Documentation

Close()

IMPORT_C voidClose()

Execute(RDbDatabase &, const TDesC &, TDbTextComparison)

IMPORT_C TIntExecute(RDbDatabase &aDatabase,
const TDesC &aSql,
TDbTextComparisonaComparison = EDbCompareNormal
)

Parameters

RDbDatabase & aDatabase
const TDesC & aSql
TDbTextComparison aComparison = EDbCompareNormal

Next()

IMPORT_C TIntNext()

Next(TRequestStatus &)

IMPORT_C voidNext(TRequestStatus &aStatus)

Parameters

TRequestStatus & aStatus

RowCount()

IMPORT_C TIntRowCount()const

Member Data Documentation

TPckgBuf< TInt > iRows

TPckgBuf< TInt >iRows[private]

RDbHandle< CDbIncremental > iUpdate

RDbHandle< CDbIncremental >iUpdate[private]