We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ec03fa commit 618ec7dCopy full SHA for 618ec7d
backend/apps/db/db.py
@@ -323,7 +323,7 @@ def get_schema(ds: CoreDatasource):
323
if equals_ignore_case(ds.type, 'dm'):
324
with dmPython.connect(user=conf.username, password=conf.password, server=conf.host,
325
port=conf.port, **extra_config_dict) as conn, conn.cursor() as cursor:
326
- cursor.execute("""select OBJECT_NAME from dba_objects where object_type='SCH'""", timeout=conf.timeout)
+ cursor.execute("""SELECT USERNAME FROM ALL_USERS""", timeout=conf.timeout)
327
res = cursor.fetchall()
328
res_list = [item[0] for item in res]
329
return res_list
0 commit comments