Other Functions

The following functions are available globally.

  • This operator is used in Box.query()‘s block to define a named alias for a query.

    Declaration

    Swift

    public func .= <E, T>(alias: String, condition: PropertyQueryCondition<E, T>) -> PropertyAlias<E, T> where E : EntityInspectable, E : __EntityRelatable, E == E.EntityBindingType.EntityType, T : EntityPropertyTypeConvertible

    Parameters

    alias

    The short name for condition.

    condition

    The condition the short name should be applied to.

    Return Value

    An object representing the short name/condition association that you can return from the block.