Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/perfectlysoft/perfect-postgresql
A stand-alone Swift wrapper around the libpq client library, enabling access to PostgreSQL servers.
https://github.com/perfectlysoft/perfect-postgresql
database perfect postgresql server-side-swift swift
Last synced: 1 day ago
JSON representation
A stand-alone Swift wrapper around the libpq client library, enabling access to PostgreSQL servers.
- Host: GitHub
- URL: https://github.com/perfectlysoft/perfect-postgresql
- Owner: PerfectlySoft
- License: apache-2.0
- Created: 2016-04-04T13:55:40.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-07-18T16:07:55.000Z (over 2 years ago)
- Last Synced: 2024-10-12T14:21:27.670Z (about 1 month ago)
- Topics: database, perfect, postgresql, server-side-swift, swift
- Language: Swift
- Homepage: https://www.perfect.org
- Size: 1.73 MB
- Stars: 54
- Watchers: 7
- Forks: 20
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/PerfectlySoft/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](http://brew.sh) build of PostgreSQL.
To install Home Brew:
```
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
```To install postgres:
```
brew install postgres
```## Linux Build Notes
Ensure that you have installed libpq-dev.
```
sudo apt-get install libpq-dev
```## Building
Add this project as a dependency in your Package.swift file.
```
.Package(url: "https://github.com/PerfectlySoft/Perfect-PostgreSQL.git", majorVersion: 3)
```## Documentation
For more information, please visit [perfect.org](http://www.perfect.org/docs/PostgreSQL.html).