Home

Awesome

PostgreSQL

Swift Zewo Platform License Slack Travis Codebeat

PostgreSQL adapter for Swift 3.0.

Conforms to SQL, which provides a common interface and ORM. Documentation can be found there.

Installation

$ apt-get install libpq-dev
$ brew install postgresql
import PackageDescription

let package = Package(
    dependencies: [
        .Package(url: "https://github.com/Zewo/PostgreSQL.git", majorVersion: 0, minor: 14)
    ]
)

$ swift build -Xcc -I/usr/local/include -Xlinker -L/usr/local/lib/
$ swift package generate-xcodeproj -Xcc -I/usr/local/include -Xlinker -L/usr/local/lib/ -Xswiftc -I/usr/local/include
$ swift build -Xcc -I/usr/include/postgresql

Community

Slack

Join us on Slack.

License

PostgreSQL is released under the MIT license. See LICENSE for details.