Skip to main content

engine_version

Function engine_version 

Source
pub unsafe fn engine_version() -> Option<String>
Expand description

Returns the version string reported by the running DuckDB.

Calls duckdb_library_version(), which occupies stable slot 7 and is therefore dispatched correctly no matter how the unstable region is laid out.

§Safety

The DuckDB C API dispatch table must already have been initialised — that is, duckdb_rs_extension_api_init must have returned successfully. Calling this before initialisation panics inside libduckdb-sys.