vapor / fluent-postgres-driver

🐘 PostgreSQL driver for Fluent.
MIT License
149 stars 53 forks source link
fluent fluent-database fluent-driver postgresql server-side-swift swift swift-linux vapor vapor-service

FluentPostgresDriver

Documentation Team Chat MIT License Continuous Integration Swift 5.8+


FluentPostgresDriver is a [FluentKit] driver for PostgreSQL clients. It provides support for using the Fluent ORM with PostgreSQL databases, and uses [PostgresKit] to provide [SQLKit] driver services, [PostgresNIO] to connect and communicate with the database server asynchronously, and [AsyncKit] to provide connection pooling. [FluentKit]: https://github.com/vapor/fluent-kit [SQLKit]: https://github.com/vapor/sql-kit [PostgresKit]: https://github.com/vapor/postgres-kit [PostgresNIO]: https://github.com/vapor/postgres-nio [AsyncKit]: https://github.com/vapor/async-kit ### Usage Use the SPM string to easily include the dependendency in your `Package.swift` file: ```swift .package(url: "https://github.com/vapor/fluent-postgres-driver.git", from: "2.0.0") ``` For additional information, see [the Fluent documentation](https://docs.vapor.codes/fluent/overview/).