what is the use of @Attriute(.preserveValueOnDeletion) and what is the use of this option in swiftData? the documentation just says that it preserves the value of the particular property even after deleting that object in the persistent history….but couldn’t actually find its use any where in the internet!
New contributor
vignesh rp is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.