Re: [pysqlite] Save memory database to file/load memory database from file

Rich Shepard <[email protected]>
Newsgroups gmane.comp.python.db.pysqlite.user
Message-ID <[email protected]>
On Mon, 14 Apr 2008, Malcolm Greene wrote:

> Is there a generic, best practice way to save an arbitrary memory database
> to file and then later restore that file image to memory?

Malcolm,

   With pysqlite use commit(). I've only loaded the database when the
application opens, so you need to look at the API.

Rich

-- 
Richard B. Shepard, Ph.D.               |  Integrity            Credibility
Applied Ecosystem Services, Inc.        |            Innovation
<http://www.appl-ecosys.com>     Voice: 503-667-4517      Fax: 503-667-8863
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.