Delete
public final class Delete: CoreRepresentable
Chain call for deleting
-
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) -> Delete
Parameters
condition
Expression convertible
Return Value
self
-
WINQ interface for SQL
Declaration
Swift
public func order(by orderList: OrderBy...) -> Delete
Parameters
orderList
Expression convertible list
Return Value
self
-
WINQ interface for SQL
Declaration
Swift
public func order(by orderList: [OrderBy]) -> Delete
Parameters
orderList
Expression convertible list
Return Value
self
-
WINQ interface for SQL
Declaration
Swift
public func limit(from begin: Limit, to end: Limit) -> Delete
Parameters
begin
Expression convertible
end
Expression convertible
Return Value
self
-
WINQ interface for SQL
Declaration
Swift
public func limit(_ limit: Limit) -> Delete
Parameters
limit
Expression convertible
Return Value
self
-
WINQ interface for SQL
Declaration
Swift
public func limit(_ limit: Limit, offset: Offset) -> Delete
Parameters
limit
Expression convertible
offset
Expression convertible
Return Value
self
-
Execute the delete chain call.
Throws
ErrorDeclaration
Swift
public func execute() throws