database - scgray/jsqsh GitHub Wiki
Variable
database
- Contains the connection's current database
Description
The ${database}
variable will contain the name of the database
(or 'catalog' in JDBC terminology) of the current session if it connected
to a server. In addition, the database context of the current connection
can be changed by setting the ${database}
variable to the desired
database name.