The
add-sql-stream
function adds the stream
stream
to the list of streams which receive SQL commands traffic or results traffic.
To add
*standard-output*
to the list, pass
stream
t
.
The argument
type
is one of
:commands
,
:results
or
:both
, and determines whether a stream for commands traffic, results traffic, or both is added.
The argument
type
has a default value of
:commands
. The
database
is the value of *default-database* by default.
*default-database*
delete-sql-stream
list-sql-streams
sql-recording-p
sql-stream
start-sql-recording
stop-sql-recording