Databases
A results database plugin stores what the solver produced and answers the queries of the result fields.
What ships with xfea
Section titled “What ships with xfea”SQLite (xfea_sqlite). It is part of the core and needs nothing else installed. Each problem gets a file of its
own, <problem>-results.db, in the problem’s folder.
There is nothing to set up: SQLite is the one used unless you name another.
Another database
Section titled “Another database”Other databases can be added as plugins, under the entry point xfea.results_databases: see
Plugins. xfea uses the one named for a solve, else settings.DEFAULT_DATABASE, else
SQLite. To make another the default:
from xfea import settings
settings.DEFAULT_DATABASE = "sqlite" # saved to ~/.xfea/config.jsonor for one solve, problem.analyse_and_extract(path=..., results_database="sqlite").
© 2026 Francesco Ranaudo · Text and pictures CC BY 4.0 · Code Elastic License 2.0 · how to reuse them