Adds a stream to the broadcast list for SQL commands or results traffic.
add-sql-stream stream &key type database => added-stream
A stream, or
The argument stream.
add-sql-stream adds the stream stream to the list of streams which receive SQL commands traffic or results traffic.
*standard-output* to the list, pass stream
The argument type is one of
: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.
LispWorks User Guide and Reference Manual - 20 Sep 2017