OptionalloggerOptionalnonceNonce expiration time in seconds (defaults to 600 = 10 minutes)
OptionalpoolOptional postgres.js connection options
OptionalidleTimeout?: numberIdle timeout in seconds before a connection is closed. Defaults to 20 seconds.
Optionalmax?: numberMaximum number of connections in the pool. Defaults to 1 in serverless environments, 10 otherwise.
Recommended values:
PostgreSQL connection URL in format: postgresql://user:password@host:port/database Compatible with DATABASE_URL environment variable used by most ORMs