SQLQueryBuilder

public class SQLQueryBuilder : QueryBuilder

Undocumented

  • Undocumented

    Declaration

    Swift

    public init()
  • Undocumented

    Declaration

    Swift

    public func getQuery() -> SQLQuery
  • Undocumented

    Declaration

    Swift

    public func insert(into table: String, columns: String..., values: Any?...) -> Self
  • Undocumented

    Declaration

    Swift

    public func insert(into table: String, columns: [String] = .init(), values: [Any?]) -> Self
  • Undocumented

    Declaration

    Swift

    public func update(_ table: String, set values: (String, Any?)...) -> Self
  • Undocumented

    Declaration

    Swift

    public func update(_ table: String, set values: [(String, Any?)]) -> Self
  • Undocumented

    Declaration

    Swift

    public func delete() -> Self
  • Undocumented

    Declaration

    Swift

    public func select(_ columns: String...) -> Self
  • Undocumented

    Declaration

    Swift

    public func select(_ columns: [String]) -> Self
  • Undocumented

    Declaration

    Swift

    public func from(_ table: String, as alias: String?) -> Self
  • Undocumented

    Declaration

    Swift

    public func from(_ tables: String...) -> Self
  • Undocumented

    Declaration

    Swift

    public func from(_ tables: [String]) -> Self
  • Undocumented

    Declaration

    Swift

    public func `where`(_ condition: String) -> Self
  • Undocumented

    Declaration

    Swift

    public func andWhere(_ condition: String) -> Self
  • Undocumented

    Declaration

    Swift

    public func orWhere(_ condition: String) -> Self
  • Undocumented

    Declaration

    Swift

    public func having(_ condition: String) -> Self
  • Undocumented

    Declaration

    Swift

    public func andHaving(_ condition: String) -> Self
  • Undocumented

    Declaration

    Swift

    public func orHaving(_ condition: String) -> Self
  • Undocumented

    Declaration

    Swift

    public func join(_ table: String, as alias: String? = nil, on condition: String) -> Self
  • Undocumented

    Declaration

    Swift

    public func orderBy(_ columns: (String, SQLExpression.Sorting)...) -> Self
  • Undocumented

    Declaration

    Swift

    public func orderBy(_ columns: [(String, SQLExpression.Sorting)]) -> Self