3 ms·
Sqlite has an append-vfs that allows you to append the database to your executable (or really any file I suppose) [0] . I believe (but haven't looked for a whil
by anitil 4y ago
Sqlite has an append-vfs that allows you to append the database to your executable (or really any file I suppose) [0] . I believe (but haven't looked for a while and my memory is hazy) that it moves all its metadata to the end of the file rather than at the beginning.
[0] https://www.sqlite.org/src/file/ext/misc/appendvfs.c https://www.sqlite.org/src/file/ext/misc/appendvfs.c
Edit - the very first comment explains that is uses a trailing string