Returns the broadcast stream used for recording SQL commands or results traffic.
sql
sql-stream &key type database => stream
type⇩ |
One of :commands or :results . |
database⇩ |
A database. |
stream⇩ |
A broadcast stream. |
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
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:56