feat(oracle): add TNS connections and trigger editing
This commit is contained in:
1 parent
9a5edae219
commit
3b004abb1e
23 files changed
+980
-53
No files matched your search
@@ -810,6 +810,11 @@ impl ConnectionConfig {
|
||||
!self.effective_transport_layers().is_empty()
|
||||
}
|
||||
|
||||
pub fn uses_oracle_tns(&self) -> bool {
|
||||
self.db_type == DatabaseType::Oracle
|
||||
&& self.oracle_connection_type.as_deref().is_some_and(|mode| mode.eq_ignore_ascii_case("tns"))
|
||||
}
|
||||
|
||||
pub fn has_effective_ssh_tunnels(&self) -> bool {
|
||||
self.effective_transport_layers().iter().any(|layer| matches!(layer, TransportLayerConfig::Ssh(_)))
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user