Database console and logs
Open a shell into a database container and read its live output.
The queries and mutation behind a database's Console tab, the same live access the dashboard uses, no SSH.
databaseConsoleInforeturns what a client needs to open a console for one database.databaseShellLabelnames the shell command the console runs (it differs by engine,psqlfor Postgres,mongoshfor MongoDB, and so on).execDatabaseConsoleis the mutation that actually runs a command in that console.databaseLogsInforeturns what a client needs to open the live log stream for one database.
Opening a console is gated on open_database_console, see
Authorization.
See also
Did this page help you?