8000 GitHub - ZewoGraveyard/PostgreSQL: PostgreSQL database adapter (ORM included)
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ZewoGraveyard/PostgreSQL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • Linux
$ apt-get install libpq-dev
  • OSX
$ brew install postgresql
  • Add PostgreSQL to your Package.swift
import PackageDescription

let package = Package(
    dependencies: [
        .Package(url: "https://github.com/Zewo/PostgreSQL.git", majorVersion: 0, minor: 14)
    ]
)
  • Build on OSX
$ swift build -Xcc -I/usr/local/include -Xlinker -L/usr/local/lib/
  • Generate Xcode project
$ swift package generate-xcodeproj -Xcc -I/usr/local/include -Xlinker -L/usr/local/lib/ -Xswiftc -I/usr/local/include
  • Build on Linux
$ 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.

About

PostgreSQL database adapter (ORM included)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 7

Languages

0