SICIDelete Protocol Reference

Conforms to NSObject
Declared in SICIDelete.h

Overview

Exposes API’s to delete tuples from table.

– where: required method

Column name of which condition will be specified.

- (id<SICIDeleteClause>)where:(NSString *)column

Parameters

column

Name of column.

Return Value

SICIDeleteClause Interface.

Discussion

Column name of which condition will be specified.

Declared In

SICIDelete.h

– whereClause: required method

Used to provide manually created Where clause, instead of using API’s.

- (id<SICIDelete>)whereClause:(NSString *)whereClause

Parameters

whereClause

Manually created where clause.

Return Value

SICIDelete Interface.

Discussion

Used to provide manually created Where clause, instead of using API’s.

Declared In

SICIDelete.h

– and: required method

Used to specify AND condition between where clause.

- (id<SICIDeleteClause>)and:(NSString *)column

Parameters

column

Name of column on which condition need to be specified.

Return Value

SICIDeleteClause Interface.

Discussion

Used to specify AND condition between where clause.

Declared In

SICIDelete.h

– or: required method

Used to specify OR condition between where clause.

- (id<SICIDeleteClause>)or:(NSString *)column

Parameters

column

Name of column on which condition need to be specified.

Return Value

SICIDeleteClause Interface.

Discussion

Used to specify OR condition between where clause.

Declared In

SICIDelete.h

– execute required method

Used to get delete, this method should be called in last to delete tuples from table.

- (id)execute

Discussion

Used to get delete, this method should be called in last to delete tuples from table.

Exceptions

SICDatabaseException

Throws exception while deleting tuples from table.

Declared In

SICIDelete.h