Update
public final class Update: CoreRepresentable
The chain call for updating
-
The number of changed rows in the most recent call. It should be called after executing successfully
Declaration
Swift
public var changes: Int? -
The tag of the related database.
Declaration
Swift
public var tag: Tag? -
The path of the related database.
Declaration
Swift
public var path: String -
WINQ interface for SQL
Declaration
Swift
public func `where`(_ condition: Condition) -> UpdateParameters
conditionExpression convertible
Return Value
self -
WINQ interface for SQL
Declaration
Swift
public func order(by orderList: OrderBy...) -> UpdateParameters
orderListExpression convertible list
Return Value
self -
WINQ interface for SQL
Declaration
Swift
public func order(by orderList: [OrderBy]) -> UpdateParameters
orderListExpression convertible list
Return Value
self -
WINQ interface for SQL
Declaration
Swift
public func limit(from begin: Limit, to end: Limit) -> UpdateParameters
beginExpression convertible
endExpression convertible
Return Value
self -
WINQ interface for SQL
Declaration
Swift
public func limit(_ limit: Limit) -> UpdateParameters
limitExpression convertible
Return Value
self -
WINQ interface for SQL
Declaration
Swift
public func limit(_ limit: Limit, offset: Offset) -> UpdateParameters
limitExpression convertible
offsetExpression convertible
Return Value
self -
Execute the update chain call with object.
Throws
ErrorDeclaration
Swift
public func execute<Object: TableEncodable>(with object: Object) throwsParameters
objectTable encodable object
-
Execute the update chain call with row.
Throws
ErrorDeclaration
Swift
public func execute(with row: [ColumnEncodableBase?]) throwsParameters
rowColumn encodable row
View on GitHub
Install in Dash
Update Class Reference