Skip to content

Is there a way to provide sslmode that is not in the connection string? #3563

@danielo515

Description

@danielo515

I am trying to migrate my codebase, which is using postgres.js, to use this package instead. However, I am having difficulties setting the SSL mode. I don't see any reference to that in the pool class.
I see a reference to that being parsed from the connection string, but I was wondering if there is a way to provide it directly without relying on the connection string containing it.

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions