Skip to content

Support for UNIX sockets #87

@nabilfreeman

Description

@nabilfreeman

Hey there, Knex has support for UNIX sockets when socketPath is supplied to the connection: {} object.

The logic behind it is pretty straightforward, when socketPath is detected it ignores the host and port.

As this uses Knex I think it would be useful to add it. There are a lot of performance benefits to using sockets instead of TCP.

Happy to do this myself if you are accepting PRs.

Thoughts appreciated

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions