We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c44449d commit 047c1f8Copy full SHA for 047c1f8
utils/templates/connection.py
@@ -465,6 +465,17 @@ def inputtypehandler(self, value: Callable) -> None:
465
self._verify_connected()
466
self._impl.inputtypehandler = value
467
468
+ @property
469
+ def instance_name(self) -> str:
470
+ """
471
+ Returns the instance name associated with the connection. This is the
472
+ equivalent of the SQL expression:
473
+
474
+ sys_context('userenv', 'instance_name')
475
476
+ self._verify_connected()
477
+ return self._impl.get_instance_name()
478
479
@property
480
def internal_name(self) -> str:
481
"""
0 commit comments