Skip to content

Conversation

@seanwoodward
Copy link
Contributor

@seanwoodward seanwoodward commented Jun 27, 2025

Fixes #103 where FILTER clause is not consistently applied by default when calling jsonGroupArray(). Also updates comments to reflect updated usage of JSONRepresentation.self in @Column(as:) and actual SQL emitted.

Copy link
Member

@stephencelis stephencelis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thanks!

@stephencelis stephencelis merged commit 25681af into pointfreeco:main Jul 3, 2025
3 checks passed
coenttb pushed a commit to coenttb/swift-structured-queries-postgres that referenced this pull request Oct 14, 2025
* Fix jsonGroupArray() automatic application of filter when QueryValue is Optional.

* Comment corrections for jsonGroupArray()

* refine fix to more closely match orginal. add assertion in SelectTests.swift when joined table has no results

---------

Co-authored-by: Stephen Celis <[email protected]>
coenttb pushed a commit to coenttb/swift-structured-queries-postgres that referenced this pull request Oct 15, 2025
* Fix jsonGroupArray() automatic application of filter when QueryValue is Optional.

* Comment corrections for jsonGroupArray()

* refine fix to more closely match orginal. add assertion in SelectTests.swift when joined table has no results

---------

Co-authored-by: Stephen Celis <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

jsonGroupArray() automatic filter is not applied in all cases

2 participants