Skip to content

Conversation

@mbrandonw
Copy link
Member

Adds tools to the library that allows loading associations for rows by converting the associated data to JSON and back into Swift types.

@mbrandonw mbrandonw requested a review from stephencelis April 28, 2025 22:13
}

assertQuery(Tag.select { $0.name.groupConcat() }.order(by: \.name)) {
assertQuery(Tag.select { $0.title.groupConcat() }.order(by: \.title)) {
Copy link
Member

Choose a reason for hiding this comment

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

Might be annoying, but what do you think of extracting this rename to its own PR?

Copy link
Member Author

Choose a reason for hiding this comment

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

yeah agreed, can do!

@stephencelis stephencelis merged commit 31b9cce into main Apr 29, 2025
2 checks passed
@stephencelis stephencelis deleted the json-association branch April 29, 2025 23:36
coenttb pushed a commit to coenttb/swift-structured-queries-postgres that referenced this pull request Oct 14, 2025
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update QueryCookbook.md

* remove jsonObject

* wip

* json encoder

* revert name-to-title rename

* update snaps

* Update Sources/StructuredQueriesCore/Documentation.docc/Articles/QueryCookbook.md

* rename

* fix docs

* wip

* wip

* cleanup

* cleanup

* wip

* wip

* Update QueryCookbook.md

---------

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
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update QueryCookbook.md

* remove jsonObject

* wip

* json encoder

* revert name-to-title rename

* update snaps

* Update Sources/StructuredQueriesCore/Documentation.docc/Articles/QueryCookbook.md

* rename

* fix docs

* wip

* wip

* cleanup

* cleanup

* wip

* wip

* Update QueryCookbook.md

---------

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.

3 participants