[petsc-dev] Writing rich state
Jed Brown
jed at 59A2.org
Wed Feb 24 13:26:58 CST 2010
On Wed, 24 Feb 2010 12:58:46 -0600, Dmitry Karpeev <karpeev at mcs.anl.gov> wrote:
> It seems like optional attributes can be relatively easily implemented
> by adding just two
> extra columns to the table: "key" and "value" and then constructing
> the corresponding
> SQL queries something like (I haven't looked at SQL in a long time)
> (WHERE(key="precision", value="double")), etc.
>
> I think there are Python bindings for BerkeleyDB, or am I imagining it?
The standard library has bindings to Berkeley DB (and other
"traditional" databases) and Sqlite3.
Jed
More information about the petsc-dev
mailing list