WCTSelectBase Class Reference

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

Overview

Not Thread-safe

– initWithResultList:fromTables:

WINQ interface for virtual SQL to do a subquery.

- (instancetype)initWithResultList:(const WCTResultList &)resultList fromTables:(NSArray<NSString*> *)tableNames

Parameters

resultList

The column results to be selected

tableNames

The names of the table to be used to do a selection

Return Value

self

Discussion

WINQ interface for virtual SQL to do a subquery.

Declared In

WCTSelectBase.h

– where:

WINQ interface for SQL.

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

Parameters

condition

condition

Return Value

self

Discussion

WINQ interface for SQL.

Declared In

WCTSelectBase.h

– orderBy:

WINQ interface for SQL.

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

Parameters

orderList

order list

Return Value

self

Discussion

WINQ interface for SQL.

Declared In

WCTSelectBase.h

– limit:

WINQ interface for SQL.

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

Parameters

limit

limit

Return Value

self

Discussion

WINQ interface for SQL.

Declared In

WCTSelectBase.h

– offset:

WINQ interface for SQL.

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

Parameters

offset

offset

Return Value

self

Discussion

WINQ interface for SQL.

Declared In

WCTSelectBase.h

– groupBy:

WINQ interface for SQL.

- (instancetype)groupBy:(const WCTGroupByList &)groupByList

Parameters

groupByList

group by list

Return Value

self

Discussion

WINQ interface for SQL.

Declared In

WCTSelectBase.h

– having:

WINQ interface for SQL.

- (instancetype)having:(const WCTHaving &)having

Parameters

having

having

Return Value

self

Discussion

WINQ interface for SQL.

Declared In

WCTSelectBase.h