All Manuals > LispWorks® User Guide and Reference Manual > 45 The SQL Package

start-sql-recording Function

Summary

Starts recording SQL commands or results traffic.

Package

sql

Signature

start-sql-recording &key type database

Arguments
type
A keyword.
database
A database.
Description

The function start-sql-recording starts recording SQL traffic, potentially to multiple streams. The traffic recorded can be the commands, the results, or both commands and results.

By default the output appears only *standard-output*. You can modify the broadcast list of recording streams using add-sql-stream and delete-sql-stream.

type is one of :commands, :results or :both. It determines whether SQL commands traffic, results traffic or both is recorded.

The default value of type is :commands. The default value for database is the value of *default-database*.

See also

add-sql-stream
delete-sql-stream
list-sql-streams
sql-stream
sql-recording-p
stop-sql-recording


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:56