betodealmeida commented on a change in pull request #11921:
URL: 
https://github.com/apache/incubator-superset/pull/11921#discussion_r535762344



##########
File path: superset-frontend/src/SqlLab/components/TabbedSqlEditors.jsx
##########
@@ -32,6 +32,22 @@ import * as Actions from '../actions/sqlLab';
 import SqlEditor from './SqlEditor';
 import TabStatusIcon from './TabStatusIcon';
 
+
+import { makeApi } from '@superset-ui/core';
+import rison from 'rison';
+
+
+const getDatabasesIds = async () => {
+  const queryParams = rison.encode({});
+  const response = await makeApi({
+    method: 'GET',
+    endpoint: '/api/v1/database',
+  })(`q=${queryParams}`);
+
+  console.log(response.ids);

Review comment:
       dd




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to