import sqlite3
conn = sqlite3.connect('%MEMORY%')
Is there more to it than that?
conn = sqlite3.connect('%MEMORY%')
Is there more to it than that?
While SQLite supports the special filename :memory: that allows the creation of databases in memory, there is no built-in way to populate such a database using raw bytes without hitting disk as an intermediate step. This virtual filesystem overcomes that limitation.