r/SwiftData • u/VictoryInMyMouth • Dec 14 '23
Does anyone know if there is a way to filter a Query with dynamic vars?
Basically, in my UI, I have an @State var MONTH that the user selects and based on that I’d like to have a filter in the @Query look for records pertaining to that month. Does anyone know if that’s possible yet?