In MySQL we can do the multiple statement in one query like below example. Is there any similar way to run multiple statement in one query in oracledb?
const mysql = require('mysql');
const connection = mysql.createConnection({
host: 'localhost',
user: 'root',
password: 'password',
multipleStatements: true
})
app.get('/distinct',(req,res)=>{
connection.query('select DISTINCT country FROM sample_data.olympic_winners order by country ASC; select DISTINCT sport FROM sample_data.olympic_winners order by sport ASC',(err,rows)=>{
if(!err)
res.send(rows);
else
console.log(err);
})
});