Skip to content

DuckDBResult

Source

Result returned by plexosdb.db_solution.PlexosSolution.to_duckdb.

from plexosdb import DuckDBResult
database: Annotated[Path | None, 'Filesystem path of the DuckDB file, or None for an in-memory database.'] = field(metadata={'description': 'Filesystem path of the DuckDB file, or None for an in-memory database.'})
tables: Annotated[list[str], 'Names of tables present in the raw DuckDB schema after conversion.'] = field(default_factory=list, metadata={'description': 'Names of tables present in the raw DuckDB schema after conversion.'})

Source

is_in_memory: bool

Return True when the database lives in memory only.