Returns the broadcast stream used for recording SQL commands or results traffic
sql-stream &key type database => stream
A broadcast stream.
sql-stream returns the broadcast stream used for recording SQL commands or results traffic.
type can be either
: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.
LispWorks User Guide and Reference Manual - 20 Sep 2017