hydromodpy.results.catalog.adapters.duckdb#
DuckDB adapter for CatalogBackend.
Wraps a single duckdb.DuckDBPyConnection so the catalog facade
keeps DuckDB-specific perf paths (fetchdf, register for in-memory
DataFrames) while exposing the backend-neutral surface of
CatalogBackend. INSERT and
UPSERT are composed with ANSI syntax so the same call sites stay
portable across other adapters that implement the same protocol.
The adapter owns no schema state: ensure_schema delegates to the
catalog migration runner shipped in
hydromodpy.results.catalog.migrations.
Classes
|
Concrete |