clj-chrome-devtools.commands.database

disable

(disable)(disable {:as params, :keys []})(disable connection {:as params, :keys []})

Disables database tracking, prevents database events from being sent to the client.

enable

(enable)(enable {:as params, :keys []})(enable connection {:as params, :keys []})

Enables database tracking, database events will now be delivered to the client.

execute-sql

(execute-sql)(execute-sql {:as params, :keys [database-id query]})(execute-sql connection {:as params, :keys [database-id query]})

Parameters map keys:

Key Description
:database-id null
:query null

Return map keys:

Key Description
:column-names null (optional)
:values null (optional)
:sql-error null (optional)

get-database-table-names

(get-database-table-names)(get-database-table-names {:as params, :keys [database-id]})(get-database-table-names connection {:as params, :keys [database-id]})

Parameters map keys:

Key Description
:database-id null

Return map keys:

Key Description
:table-names null