operationType

Returns the operation type of the MBO.

Syntax

- (unichar)operationType

Parameters

None.

Returns

The operation type of the MBO. Possible values are 'U' for update and insert, and 'D' for delete.

Examples

  • Get the Operation Type
    SUPObjectList *changeLogs = [SUP101SUP101DB getChangeLogs:[SUPQuery getInstance]];
    if([changeLogs size] > 0)
    {
        for (id<SUPChangeLog> cl in changeLogs)
        {
           MBOLogInfo(@"changelog:[operationType=%C]\n", [cl operationType]);
        }
    }