DatabasesConfig

public struct DatabasesConfig : Service

Helper struct for configuring the Databases struct.

  • Resolves the currently configured databases to a Databases struct.

    Declaration

    Swift

    public func resolve(on container: Container) throws -> Databases

    Parameters

    container

    Container to resolve the databases on.