Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #26410

dbf.py API question

Date 2012-08-02 08:55 -0700
From Ethan Furman <ethan@stoneleaf.us>
Subject dbf.py API question
Newsgroups comp.lang.python
Message-ID <mailman.2878.1343922090.4697.python-list@python.org> (permalink)

Show all headers | View raw


SQLite has a neat feature where if you give it a the file-name of 
':memory:' the resulting table is in memory and not on disk.  I thought 
it was a cool feature, but expanded it slightly: any name surrounded by 
colons results in an in-memory table.

I'm looking at the same type of situation with indices, but now I'm 
wondering if the :name: method is not pythonic and I should use a flag 
(in_memory=True) when memory storage instead of disk storage is desired.

Thoughts?

~Ethan~

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

dbf.py API question Ethan Furman <ethan@stoneleaf.us> - 2012-08-02 08:55 -0700

csiph-web