Skip to content

Structure

PostgresClient.Configuration

struct Configuration

Topics

Structures

Initializers

Instance Properties

  • database
    The name of the database to open.
  • host
    The hostname to connect to for TCP configurations.
  • options
    Options for handling the communication channel. Most users don’t need to change these.
  • password
    The password, if any, for the user specified by username.
  • port
    The port to connect to for TCP configurations.
  • tls
    The TLS mode to use for the connection. Valid for all configurations.
  • unixSocketPath
    The socket path to connect to for Unix domain socket connections.
  • username
    The username to connect with.

Relationships

Conforms To

  • Swift.Sendable
  • Swift.SendableMetatype

See Also

Essentials