|
|
|
|
|
by anitil
1 day ago
|
|
Interesting idea, I know there's the fsdir [0] table-valued function / module that allows loading from disk, so it should be possible to modify that or hard-code base list of paths or something [0] https://sqlite.org/src/file/ext/misc/fileio.c, it allows you to read a directory recursively in the cli (`select * from fsdir("./");`) Edit: It allows upwards traversals (`select * from fsdir("../../../../etc/passwd");`), so beware |
|
I'm sticking with the Python bundled sqlite3 though so I'm not in a good place to take advantage of that one.