EqualsClause

public class EqualsClause: NSObject, Clause

Class represents Equals clause.

  • Initialize with String left hand side value.

    Parameter

    Parameter field: Name of the field to be compared.

    Parameter

    Parameter string: Left hand side value to be compared.

    Declaration

    Swift

    public convenience init(field:String, stringValue:String)

    Parameters

    field

    Name of the field to be compared.

    string

    Left hand side value to be compared.

  • Initialize with Int left hand side value.

    Parameter

    Parameter field: Name of the field to be compared.

    Parameter

    Parameter integer: Left hand side value to be compared.

    Declaration

    Swift

    public convenience init(field:String, intValue:Int)

    Parameters

    field

    Name of the field to be compared.

    integer

    Left hand side value to be compared.

  • Initialize with Bool left hand side value.

    Parameter

    Parameter field: Name of the field to be compared.

    Parameter

    Parameter bool: Left hand side value to be compared.

    Declaration

    Swift

    public convenience init(field:String, boolValue:Bool)

    Parameters

    field

    Name of the field to be compared.

    bool

    Left hand side value to be compared.

  • Undocumented

    Declaration

    Swift

    public class EqualsClause: NSObject, Clause
  • Undocumented

    Declaration

    Swift

    public class EqualsClause: NSObject, Clause
  • Get Clause as NSDictionary instance

    Returns

    a NSDictionary instance.

    Declaration

    Swift

    public func toNSDictionary() -> NSDictionary

    Return Value

    a NSDictionary instance.