-
Returns a database sort direction for queries based on the Request’s
order
parameter. If theorder
is not passed or invalid, we return nil so the caller can fall back to a default.Declaration
Swift
public func orderDirection() -> DatabaseQuery.Sort.Direction?
-
Declaration
Swift
var userCache: UserCache { get }
-
Declaration
Swift
struct UserCache
-
Declaration
Swift
public var webSocketStore: WebSocketStorage { get }
-
Declaration
Swift
public class WebSocketStorage
-
Extends Request.Redis for Site
Most of the Redis extensions are in the API-level RedisWrapper file, but some usage of Redis is specific to the Site code. This file takes Redis primitives and ‘wraps’ them in methods that describe the operation what we’re actually doing.
See moreDeclaration
Swift
extension Request.Redis