Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Commit

Permalink
Better naming for sql family string representation
Browse files Browse the repository at this point in the history
  • Loading branch information
Julius de Bruijn committed Jun 12, 2020
1 parent c307820 commit 76009f4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/connector/connection_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -226,13 +226,13 @@ impl SqlFamily {
pub fn as_str(self) -> &'static str {
match self {
#[cfg(feature = "postgresql")]
SqlFamily::Postgres => "postgresql",
SqlFamily::Postgres => "PostgreSQL",
#[cfg(feature = "mysql")]
SqlFamily::Mysql => "mysql",
SqlFamily::Mysql => "MySQL",
#[cfg(feature = "sqlite")]
SqlFamily::Sqlite => "sqlite",
SqlFamily::Sqlite => "SQLite",
#[cfg(feature = "mssql")]
SqlFamily::Mssql => "mssql",
SqlFamily::Mssql => "SQL Server",
}
}

Expand Down

0 comments on commit 76009f4

Please sign in to comment.