RowSelectInterface
public protocol RowSelectInterface
Convenient interface for row selecting
-
Get rows by specific selecting
Throws
Error
Declaration
Swift
func getRows(on columnResultConvertibleList: [ColumnResultConvertible],
Parameters
columnResultConvertibleList
WINQ column result list
table
Table name
condition
Expression convertible
orderList
Expression convertible list
limit
Expression convertible
offset
Expression convertible
Return Value
FundamentalRowXColumn
-
Get rows by specific selecting
Throws
Error
Declaration
Swift
func getRows(on columnResultConvertibleList: ColumnResultConvertible...,
Parameters
columnResultConvertibleList
WINQ column result list
table
Table name
condition
Expression convertible
orderList
Expression convertible list
limit
Expression convertible
offset
Expression convertible
Return Value
FundamentalRowXColumn
-
Get row by specific selecting
Throws
Error
Declaration
Swift
func getRow(on columnResultConvertibleList: ColumnResultConvertible...,
Parameters
columnResultConvertibleList
WINQ column result list
table
Table name
condition
Expression convertible
orderList
Expression convertible list
offset
Expression convertible
Return Value
FundamentalRow
-
Get row by specific selecting
Throws
Error
Declaration
Swift
func getRow(on columnResultConvertibleList: [ColumnResultConvertible],
Parameters
columnResultConvertibleList
WINQ column result list
table
Table name
condition
Expression convertible
orderList
Expression convertible list
offset
Expression convertible
Return Value
FundamentalRow
-
getColumn(on:fromTable:where:orderBy:limit:offset:)
Default implementationGet column by specific selecting
Throws
Error
Default Implementation
Declaration
Swift
func getColumn(on columnResultConvertible: ColumnResultConvertible,
Parameters
columnResultConvertible
WINQ column result
table
Table name
condition
Expression convertible
orderList
Expression convertible list
limit
Expression convertible
offset
Expression convertible
Return Value
FundamentalColumn
-
getDistinctColumn(on:fromTable:where:orderBy:limit:offset:)
Default implementationGet distinct column by specific selecting
Throws
Error
Default Implementation
Declaration
Swift
func getDistinctColumn(on columnResultConvertible: ColumnResultConvertible,
Parameters
columnResultConvertible
WINQ column result
table
Table name
condition
Expression convertible
orderList
Expression convertible list
limit
Expression convertible
offset
Expression convertible
Return Value
FundamentalColumn
-
getValue(on:fromTable:where:orderBy:limit:offset:)
Default implementationGet value by specific selecting
Throws
Error
Default Implementation
Declaration
Swift
func getValue(on columnResultConvertible: ColumnResultConvertible,
Parameters
columnResultConvertible
WINQ column result
table
Table name
condition
Expression convertible
orderList
Expression convertible list
offset
Expression convertible
Return Value
FundamentalValue
-
getDistinctValue(on:fromTable:where:orderBy:limit:offset:)
Default implementationGet distinct value by specific selecting
Throws
Error
Default Implementation
Declaration
Swift
func getDistinctValue(on result: ColumnResultConvertible,
Parameters
columnResultConvertible
WINQ column result
table
Table name
condition
Expression convertible
orderList
Expression convertible list
offset
Expression convertible
Return Value
FundamentalValue