_nodejs.exec.query.partial
const fetch = require("node-fetch")
const HOST = "http://localhost:9000"
async function run() {
try {
const query = "SELECT x FROM long_sequence(5);"
const response = await fetch(
`${HOST}/exec?query=${encodeURIComponent(query)}`,
)
const json = await response.json()
console.log(json)
} catch (error) {
console.log(error)
}
}
run()