How does this help?
I still need to know which items were viewed, I can keep updating a table with a single item but that's not practical at all.
I also don't understand how the cascade rule helps here...
I ended up switching to GRDB because IMO SwiftData is not ready for more complex use cases.