Can a MemoryBlock of a very small SQLite database file become an In-Memory SQLite database or does it need to go to disk first?
TIA
theres no means to convert a memoryblock into an in memory sqlite database
best I think you could do is
- write then mb to disk
- have an in memory db attach to that file opened as a db
- copy the data from the attached db into the original in memory one
- detach from the one on disk
Thanks, didn’t think so but always worth asking
Its an interesting thought
Theres no such API in SQLite itself that I know of that would make it possible to do such a thing