WCTDelete Class Reference

Inherits from WCTChainCall : WCTCore : NSObject
Declared in WCTDelete.h

Overview

Not Thread-safe

– where:

WINQ interface for SQL.

- (instancetype)where:(const WCTCondition &)expr

Parameters

expr

expr

Return Value

self

Declared In

WCTDelete.h

– orderBy:

WINQ interface for SQL.

- (instancetype)orderBy:(const WCTOrderByList &)orderList

Parameters

orderList

order list

Return Value

self

Declared In

WCTDelete.h

– limit:

WINQ interface for SQL.

- (instancetype)limit:(const WCTLimit &)limit

Parameters

limit

limit

Return Value

self

Declared In

WCTDelete.h

– offset:

WINQ interface for SQL.

- (instancetype)offset:(const WCTOffset &)offset

Parameters

offset

offset

Return Value

self

Declared In

WCTDelete.h

– execute

Execute the delete SQL.

- (BOOL)execute

Return Value

YES if no error occurs.

Declared In

WCTDelete.h

– changes

It should be called after executing successfully

- (int)changes

Return Value

the number of changes in the most recent call

Declared In

WCTDelete.h