Parameters

public struct Parameters

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

  • Undocumented

    Declaration

    Swift

    public struct Parameters
  • 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 mutating func setBoolean(_ value: Bool, forName name: String) -> Parameters

    Parameters

    value

    The boolean value.

    name

    The parameter name.

    Return Value

    The Parameters 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 mutating func setDate(_ value: Date?, forName name: String) -> Parameters

    Parameters

    value

    The date value.

    name

    The parameter name.

    Return Value

    The Parameters 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 mutating func setDouble(_ value: Double, forName name: String) -> Parameters

    Parameters

    value

    The double value.

    name

    The parameter name.

    Return Value

    The Parameters 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 mutating func setFloat(_ value: Float, forName name: String) -> Parameters

    Parameters

    value

    The float value.

    name

    The parameter name.

    Return Value

    The Parameters 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 mutating func setInt(_ value: Int, forName name: String) -> Parameters

    Parameters

    value

    The int value.

    name

    The parameter name.

    Return Value

    The Parameters 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 mutating func setInt64(_ value: Int64, forName name: String) -> Parameters

    Parameters

    value

    The int64 value.

    name

    The parameter name.

    Return Value

    The Parameters 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 mutating func setString(_ value: String?, forName name: String) -> Parameters

    Parameters

    value

    The String value.

    name

    The parameter name.

    Return Value

    The Parameters 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 mutating func setValue(_ value: Any?, forName name: String) -> Parameters

    Parameters

    value

    The value.

    name

    The parameter name.

    Return Value

    The Parameters object.