Posts by Patrik Roger • 63 points
3 posts
-
0
votes1
answer62
viewsQ: How to export the contents of a promisse that is in a module to another module?
I have the following module getToken.js: var rp = require('request-promise'); const options = { url: 'https://meuservidor:8080/nifi-api/access/token', method: 'POST', gzip: true, rejectUnauthorized:…
-
0
votes1
answer231
viewsQ: Merge 3 selects into a single select
I’m using the Warehouse Snowflake, I have to make some selects 1° Select select WAREHOUSE_NAME, TOTAL_ELAPSED_TIME, QUERY_TEXT, START_TIME from SNOWFLAKE.ACCOUNT_USAGE.QUERY_HISTORY where…
sqlasked Patrik Roger 63 -
5
votes1
answer87
viewsQ: How to get a list from a JSON
I am trying to make a list of currencies from a JSON text, for this I am using the API "exchangeratesapi.io". Using Javascript I achieved some success: const url =…