It is sometimes convenient to simply monitor the flow of commands to, and results from, a database. A number of functions are provided for this purpose.
The functions operate on two stream collections (
broadcast streams
) -- one each for commands and results. They allow the recording to be started and stopped, checked, or recorded on further individual streams. By default, both commands and results recording is printed only to
*standard-output*.
For details, see the reference pages for
start-sql-recording,
stop-sql-recording,
sql-recording-p,
list-sql-streams,
sql-stream,
add-sql-stream and delete-sql-stream.