The function
sql-stream
returns the broadcast stream used for recording SQL commands or results traffic.
type
can be either
:commands
or
:results
, and specifies whether to return the broadcast stream for commands or results traffic.
The default value of
type
is
:commands
. The default value of
database
is the value of *default-database*.
Note that SQL traffic can appear on
*standard-output*
as well as on
stream
. See add-sql-stream for details.
add-sql-stream
delete-sql-stream
list-sql-streams
sql-recording-p
start-sql-recording
stop-sql-recording