This project provides a Swift wrapper around the libpq client library, enabling access to PostgreSQL servers.
This package builds with Swift Package Manager and is part of the Perfect project. It was written to be stand-alone and so does not require PerfectLib or any other components.
Ensure you have installed and activated the latest Swift 4.0 tool chain.
macOS Build Notes
This package requires the Home Brew build of PostgreSQL.
Perfect - PostgreSQL Connector
This project provides a Swift wrapper around the libpq client library, enabling access to PostgreSQL servers.
This package builds with Swift Package Manager and is part of the Perfect project. It was written to be stand-alone and so does not require PerfectLib or any other components.
Ensure you have installed and activated the latest Swift 4.0 tool chain.
macOS Build Notes
This package requires the Home Brew build of PostgreSQL.
To install Home Brew:
To install postgres:
Linux Build Notes
Ensure that you have installed libpq-dev.
Building
Add this project as a dependency in your Package.swift file.
Documentation
For more information, please visit perfect.org.