Skip to content
Discussion options

You must be logged in to vote

You can do so in a custom initializer. Here's an example from the Reminders demo:

https://github.com/pointfreeco/sharing-grdb/blob/27aa92082156aaaecd002620ff200723eaf3f239/Examples/Reminders/RemindersDetail.swift#L24

This is similar to how Apple constructs dynamic queries for SwiftData.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tikitu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants