Skip to content

Commit

Permalink
Merge pull request #28 from RWDai/db/add-compatible_type-func
Browse files Browse the repository at this point in the history
db/add compatible_type func
  • Loading branch information
gudaoxuri authored Apr 18, 2023
2 parents 40615e0 + 731c97f commit 104a2c4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tardis/src/db/reldb_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,12 @@ impl TardisRelDBClient {
self.con.get_database_backend()
}

/// Get database compatible type / 获取数据库兼容类型
/// eg. porlardb is compatible with Oracle
pub fn compatible_type(&self) -> CompatibleType {
self.compatible_type.clone()
}

/// Get database connection
///
/// 获取数据库操作连接
Expand Down

0 comments on commit 104a2c4

Please sign in to comment.