Specifically, add support to scope down the session context to a particular database for a given statement/batch of statements. In other words cross-DB queries are not supported atm. This is done by extending the existing GET & POST routes to also support the prefixed /db-name/q[/query-hash] form, and then effectively switch the default database to the one provided.
Also contains the implementation of CREATE DATABASE statement.
The upload endpoint needs to be altered as well, but I plan on doing it in a separate PR.
Specifically, add support to scope down the session context to a particular database for a given statement/batch of statements. In other words cross-DB queries are not supported atm. This is done by extending the existing GET & POST routes to also support the prefixed
/db-name/q[/query-hash]
form, and then effectively switch the default database to the one provided.Also contains the implementation of
CREATE DATABASE
statement.The upload endpoint needs to be altered as well, but I plan on doing it in a separate PR.
Closes #288.