Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: about 1 month ago
JSON representation

A stand-alone Swift wrapper around the libpq client library, enabling access to PostgreSQL servers.

Awesome Lists containing this project

README

        

# Perfect - PostgreSQL Connector



Get Involed with Perfect!



Star Perfect On Github


Stack Overflow


Follow Perfect on Twitter


Join the Perfect Slack



Swift 4.0


Platforms OS X | Linux


License Apache


PerfectlySoft Twitter


Slack Status

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).