vapor / fluent-postgres-driver

🐘 PostgreSQL driver for Fluent.
MIT License
149 stars 53 forks source link

conform to database protocol by adding transactions #127

Closed JaapWijnen closed 4 years ago

JaapWijnen commented 4 years ago

This adds conformance for the suggested: https://github.com/vapor/fluent-kit/pull/100

gwynne commented 4 years ago

Unfortunately, this approach will not work in the presence of connection pooling. A solution using new support for explicitly singular connections (see https://github.com/vapor/fluent-kit/blob/master/Sources/FluentKit/Database/Database.swift#L13) is in progress.