-
I'm using both OPFS and IndexedDB at the same time. My application uses the database only for persisting file metadata and OPFS for blob storage. I was wondering if it is possible to omit File objects being sent to IndexedDB in the first place? Like mutating them to undefined? I coudl wrap every call to remove that key but having it defined inside a Dexie class would be fantastic. |
Beta Was this translation helpful? Give feedback.
Answered by
DenizUgur
Feb 18, 2024
Replies: 1 comment
-
Okay there is a hook concept: https://dexie.org/docs/Table/Table.hook('creating') |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
DenizUgur
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Okay there is a hook concept: https://dexie.org/docs/Table/Table.hook('creating')