UpdateInterface

public protocol UpdateInterface

Convenient interface for updating

  • Execute updating with TableEncodable object on specific(or all) properties.

    Throws

    Error

    Declaration

    Swift

    func update<Object: TableEncodable>(

    Parameters

    table

    Table name

    propertyConvertibleList

    Property or CodingTableKey list

    object

    Table encodable object

    condition

    Expression convertible

    orderList

    Expression convertible list

    limit

    Expression convertible

    offset

    Expression convertible

  • Execute updating with TableEncodable object on specific(or all) properties.

    Throws

    Error

    Declaration

    Swift

    func update<Object: TableEncodable>(

    Parameters

    table

    Table name

    propertyConvertibleList

    Property or CodingTableKey list

    object

    Table encodable object

    condition

    Expression convertible

    orderList

    Expression convertible list

    limit

    Expression convertible

    offset

    Expression convertible

  • Execute updating with row on specific(or all) properties.

    Throws

    Error

    Declaration

    Swift

    func update(table: String,

    Parameters

    table

    Table name

    propertyConvertibleList

    Property or CodingTableKey list

    object

    Table encodable object

    condition

    Expression convertible

    orderList

    Expression convertible list

    limit

    Expression convertible

    offset

    Expression convertible

  • Execute updating with row on specific(or all) properties.

    Throws

    Error

    Declaration

    Swift

    func update(table: String,

    Parameters

    table

    Table name

    propertyConvertibleList

    Property or CodingTableKey list

    object

    Table encodable object

    condition

    Expression convertible

    orderList

    Expression convertible list

    limit

    Expression convertible

    offset

    Expression convertible