The function
start-sql-recording
starts recording SQL traffic, potentially to multiple streams. The traffic recorded can be the commands, the results, or both commands and results.
By default the output appears only
*standard-output*
. You can modify the broadcast list of recording streams using
add-sql-stream
and
delete-sql-stream
.
type
is one of
:commands
,
:results
or
:both.
It determines whether SQL commands traffic, results traffic or both is recorded.
The default value of
type
is
:commands
. The default value for
database
is the value of
*default-database
*.
add-sql-stream
delete-sql-stream
list-sql-streams
sql-stream
sql-recording-p
stop-sql-recording