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

sql-recording-p Function

Summary

A predicate for determining if SQL commands or results traffic is being recorded.

Package

sql

Signature

sql-recording-p &key type database => recording-p

Arguments
type
One of :commands or :results.
database
A database.
Values
recording-p
A boolean.
Description

The function sql-recording-p returns t if type is :commands and SQL commands traffic is being recorded, or if type is :results and SQL results traffic is being recorded. Otherwise it returns nil.

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

See also

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


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