问题
Can I load a disk-database file (.db) to a in-memory database created by :memory: in Sqlite? I am using Mono, and Mono.Data.Sqlite is the library I am linking to. Does anyone know how to do that? or can anyone point me to a document for this library? Thanks!
-gb
回答1:
you should use the SQLite Backup API. here is a couple of links.
Using the SQLite Online Backup API
Online Backup API
来源:https://stackoverflow.com/questions/5130952/how-to-load-a-disk-based-database-to-in-memory-database-using-sqlite-in-mono