pub fn sql_server_version<C: SqlConnection>(
conn: &C,
) -> Result<Option<String>, IoError>Expand description
Probe the SQL backend’s server version string.
Returns Ok(None) for backends that can’t (or don’t) introspect
their version. SQLite returns Some("3.x.y"). PostgreSQL/MySQL
impls return their respective SHOW server_version /
SELECT VERSION() payloads. Useful for dialect-version gating
(RETURNING, JSON ops, generated columns) and diagnostics.
Per br-frankenpandas-e23k (fd90.24).