PostgreSQL alternatives and similar libraries
Based on the "SQL drivers" category.
Alternatively, view PostgreSQL alternatives based on common mentions on social networks and blogs.
-
Perfect-MySQL
A stand-alone Swift wrapper around the MySQL client library, enabling access to MySQL servers. -
Perfect-PostgreSQL
A stand-alone Swift wrapper around the libpq client library, enabling access to PostgreSQL servers.
CodeRabbit: AI Code Reviews for Developers

* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of PostgreSQL or a related project?
README
PostgreSQL
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 yourPackage.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
Join us on Slack.
License
PostgreSQL is released under the MIT license. See LICENSE for details.
*Note that all licence references and agreements mentioned in the PostgreSQL README section above
are relevant to that project's source code only.