Enumerations
The following enumerations are available globally.
-
An error representing a failure to create an
Identifier.Usage Example:
An
QueryParamsError.invalidValuemay be thrown if the given type cannot be constructed from the given string.
See morethrow QueryParamsError.invalidValueDeclaration
Swift
public enum QueryParamsError : Error -
An error representing a failure to create an
Identifier.Usage Example:
An
IdentifierError.invalidValuemay be thrown if the given string cannot be converted to an integer when using anIdentifier.
See morethrow IdentifierError.invalidValueDeclaration
Swift
public enum IdentifierError : Error -
An enum containing the ordering information
Usage Example:
To order ascending by name, we would write:
See moreOrder.asc("name")Declaration
Swift
public enum Order : Codable -
An enum defining the available logical operators
Usage Example:
To use the OR Operator, we would write:
See moreOperator.orDeclaration
Swift
public enum Operator : String, Codable
View on GitHub
Enumerations Reference