WCTUpdate Class Reference
| Inherits from | WCTChainCall : WCTCore : NSObject |
|---|---|
| Declared in | WCTUpdate.h |
– where:
WINQ interface for SQL.
- (instancetype)where:(const WCTCondition &)conditionParameters
condition |
condition |
|---|
Return Value
self
Declared In
WCTUpdate.h
– orderBy:
WINQ interface for SQL.
- (instancetype)orderBy:(const WCTOrderByList &)orderListParameters
orderList |
order list |
|---|
Return Value
self
Declared In
WCTUpdate.h
– limit:
WINQ interface for SQL.
- (instancetype)limit:(const WCTLimit &)limitParameters
limit |
limit |
|---|
Return Value
self
Declared In
WCTUpdate.h
– offset:
WINQ interface for SQL.
- (instancetype)offset:(const WCTOffset &)offsetParameters
offset |
offset |
|---|
Return Value
self
Declared In
WCTUpdate.h
– executeWithObject:
Execute the update SQL with objects.
- (BOOL)executeWithObject:(WCTObject *)objectParameters
object |
Template object to be used to update table. |
|---|
Return Value
YES if no error occurs. See [error] also.
Declared In
WCTUpdate.h
– executeWithRow:
Execute the update SQL with objects.
- (BOOL)executeWithRow:(WCTOneRow *)rowParameters
row |
Template row to be used to update table |
|---|
Return Value
YES if no error occurs. See [error] also.
Declared In
WCTUpdate.h
– changes
It should be called after executing successfully
- (int)changesReturn Value
the number of changes in the most recent call
Declared In
WCTUpdate.h