ADSQLUpdateInstruction

public struct ADSQLUpdateInstruction: ADSQLInstruction

Holds all of the information for a SQL UPDATE instruction.

  • The type of update to perform.

    Declaration

    Swift

    public var action: Action = .update
  • The name of the table being updated.

    Declaration

    Swift

    public var tableName: String = ""
  • A list of columns and values being written to the row.

    Declaration

    Swift

    public var setClauses: [ADSQLSetClause] = []
  • An optional expression controlling the rows to update.

    Declaration

    Swift

    public var whereExpression: ADSQLExpression?