Replies: 1 comment 4 replies
-
|
Hi @gianpispi, we have plans to look into this, but can't commit on a timeline. Referencing files on disk from the database brings extra complications, and I'm not sure even SwiftData handles it correctly. For example, do you know what SwiftData does if one deletes the file from disk directly? Does SwiftData observe that and clean up the data in the database? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Looking ad SwiftData, it would be great to have some externalStorage attribute for image fields, that automatically and atomically move the image to the documents folder and insert the path to the db.
This could be an even bigger impact for this to work with CloudKit out of the box - I saw it works already with blob fields.
I just don't like to store big images inside the database itself
Beta Was this translation helpful? Give feedback.
All reactions