Next Prev Up Top Contents Index

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 Reference Manual - 13 Jun 2003

Next Prev Up Top Contents Index