Parameters

public class Parameters

A Parameters object used for setting values to the query parameters defined in the query.

  • Initializes the Parameters’s builder.

    Declaration

    Swift

    public convenience init()
  • Initializes the Parameters’s builder with the given parameters.

    Declaration

    Swift

    public convenience init(parameters: Parameters?)

    Parameters

    parameters

    The parameters.

  • Gets a parameter’s value.

    Declaration

    Swift

    public func value(forName name: String) -> Any?

    Parameters

    name

    The parameter name.

    Return Value

    The parameter value.

  • Set a boolean value to the query parameter referenced by the given name. A query parameter is defined by using the Expression’s parameter(_ name: String) function.

    Declaration

    Swift

    @discardableResult public func setBoolean(_ value: Bool, forName name: String) -> Parameters

    Parameters

    value

    The boolean value.

    name

    The parameter name.

    Return Value

    The self object.

  • Set a date value to the query parameter referenced by the given name. A query parameter is defined by using the Expression’s parameter(_ name: String) function.

    Declaration

    Swift

    @discardableResult public func setDate(_ value: Date?, forName name: String) -> Parameters

    Parameters

    value

    The date value.

    name

    The parameter name.

    Return Value

    The self object.

  • Set a double value to the query parameter referenced by the given name. A query parameter is defined by using the Expression’s parameter(_ name: String) function.

    Declaration

    Swift

    @discardableResult public func setDouble(_ value: Double, forName name: String) -> Parameters

    Parameters

    value

    The double value.

    name

    The parameter name.

    Return Value

    The self object.

  • Set a float value to the query parameter referenced by the given name. A query parameter is defined by using the Expression’s parameter(_ name: String) function.

    Declaration

    Swift

    @discardableResult public func setFloat(_ value: Float, forName name: String) -> Parameters

    Parameters

    value

    The float value.

    name

    The parameter name.

    Return Value

    The self object.

  • Set an int value to the query parameter referenced by the given name. A query parameter is defined by using the Expression’s parameter(_ name: String) function.

    Declaration

    Swift

    @discardableResult public func setInt(_ value: Int, forName name: String) -> Parameters

    Parameters

    value

    The int value.

    name

    The parameter name.

    Return Value

    The self object.

  • Set an int64 value to the query parameter referenced by the given name. A query parameter is defined by using the Expression’s parameter(_ name: String) function.

    Declaration

    Swift

    @discardableResult public func setInt64(_ value: Int64, forName name: String) -> Parameters

    Parameters

    value

    The int64 value.

    name

    The parameter name.

    Return Value

    The self object.

  • Set a String value to the query parameter referenced by the given name. A query parameter is defined by using the Expression’s parameter(_ name: String) function.

    Declaration

    Swift

    @discardableResult public func setString(_ value: String?, forName name: String) -> Parameters

    Parameters

    value

    The String value.

    name

    The parameter name.

    Return Value

    The self object.

  • Set a value to the query parameter referenced by the given name. A query parameter is defined by using the Expression’s parameter(_ name: String) function.

    Declaration

    Swift

    @discardableResult public func setValue(_ value: Any?, forName name: String) -> Parameters

    Parameters

    value

    The value.

    name

    The parameter name.

    Return Value

    The self object.