Using SQLite instead of disk storage for egui app state #5687
-
I have a SQLite DB and I would rather store the persistence data in there and then read from there on startup than storing it on disk. I found Is there any way to read and save the memory state to a DB upon startup/exit? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It does not seem to be possible. Apparently eframe only lets you customize the path, but it always loads from a RON file stored on disk, like here: egui/crates/eframe/src/native/glow_integration.rs Lines 193 to 209 in 0db56dc egui/crates/eframe/src/native/epi_integration.rs Lines 130 to 147 in 0db56dc But it could be an idea. Instead of (or in addition to) taking a |
Beta Was this translation helpful? Give feedback.
It does not seem to be possible. Apparently eframe only lets you customize the path, but it always loads from a RON file stored on disk, like here:
egui/crates/eframe/src/native/glow_integration.rs
Lines 193 to 209 in 0db56dc