vapor / sql-kit

*️⃣ Build SQL queries in Swift. Extensible, protocol-based design that supports DQL, DML, and DDL.
MIT License
248 stars 58 forks source link

Support += operator for SQLQueryString. #156

Closed maciejtrybilo closed 2 years ago

maciejtrybilo commented 2 years ago

Very simple change to support the += operator for appending SQLQueryStrings.

codecov-commenter commented 2 years ago

Codecov Report

Merging #156 (dee846f) into main (e309850) will increase coverage by 0.02%. The diff coverage is 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #156 +/- ## ========================================== + Coverage 69.25% 69.27% +0.02% ========================================== Files 94 94 Lines 3483 3486 +3 ========================================== + Hits 2412 2415 +3 Misses 1071 1071 ``` | Flag | Coverage Δ | | |---|---|---| | unittests | `69.27% <100.00%> (+0.02%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://codecov.io/gh/vapor/sql-kit/pull/156?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor) | Coverage Δ | | |---|---|---| | [Sources/SQLKit/Query/SQLQueryString.swift](https://codecov.io/gh/vapor/sql-kit/pull/156/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor#diff-U291cmNlcy9TUUxLaXQvUXVlcnkvU1FMUXVlcnlTdHJpbmcuc3dpZnQ=) | `90.16% <100.00%> (+0.50%)` | :arrow_up: |
VaporBot commented 2 years ago

These changes are now available in 3.23.0