pub async fn get_engine_edition(
client: &mut Client,
) -> Result<EngineEdition, SqlServerError>Expand description
Returns the EngineEdition of the SQL Server instance the client is
connected to.
tiberius does not surface the engine edition, so we query
SERVERPROPERTY('EngineEdition'), which is returned as a sql_variant and
cast to an integer.