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

Run queries directly on PostgresClient #456

Closed fabianfett closed 4 months ago

fabianfett commented 4 months ago

This PR allows users to run queries directly on PostgresClient.

codecov-commenter commented 4 months ago

Codecov Report

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

Comparison is base (6433f6d) 62.27% compared to head (2989aaa) 62.05%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #456 +/- ## ========================================== - Coverage 62.27% 62.05% -0.22% ========================================== Files 124 124 Lines 9936 9971 +35 ========================================== Hits 6188 6188 - Misses 3748 3783 +35 ``` | [Files](https://app.codecov.io/gh/vapor/postgres-nio/pull/456?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor) | Coverage Δ | | |---|---|---| | [Sources/PostgresNIO/New/PSQLRowStream.swift](https://app.codecov.io/gh/vapor/postgres-nio/pull/456?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor#diff-U291cmNlcy9Qb3N0Z3Jlc05JTy9OZXcvUFNRTFJvd1N0cmVhbS5zd2lmdA==) | `86.51% <100.00%> (+0.13%)` | :arrow_up: | | [Sources/PostgresNIO/Pool/PostgresClient.swift](https://app.codecov.io/gh/vapor/postgres-nio/pull/456?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/456/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor)