vapor / postgres-nio

🐘 Non-blocking, event-driven Swift client for PostgreSQL.
https://api.vapor.codes/postgresnio/documentation/postgresnio/
MIT License
304 stars 70 forks source link

Adds PrepareStatement support to client #459

Closed fabianfett closed 4 months ago

fabianfett commented 4 months ago

PostgresClient should support prepared statements.

codecov-commenter commented 4 months ago

Codecov Report

Attention: 32 lines in your changes are missing coverage. Please review.

Comparison is base (0679ede) 62.06% compared to head (3c4d989) 61.87%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #459 +/- ## ========================================== - Coverage 62.06% 61.87% -0.19% ========================================== Files 125 125 Lines 9980 10012 +32 ========================================== + Hits 6194 6195 +1 - Misses 3786 3817 +31 ``` | [Files](https://app.codecov.io/gh/vapor/postgres-nio/pull/459?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor) | Coverage Δ | | |---|---|---| | [Sources/PostgresNIO/Pool/PostgresClient.swift](https://app.codecov.io/gh/vapor/postgres-nio/pull/459?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor#diff-U291cmNlcy9Qb3N0Z3Jlc05JTy9Qb29sL1Bvc3RncmVzQ2xpZW50LnN3aWZ0) | `0.00% <0.00%> (ø)` | | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/vapor/postgres-nio/pull/459/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor)