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

NextPrevUpTopContentsIndex

sql-stream

Function
Summary

Returns the broadcast stream used for recording SQL commands or results traffic

Package

sql

Signature

sql-stream &key type database => stream

Arguments

type

One of :commands or :results.

database

A database.

Values

stream

A broadcast stream.

Description

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.

See also

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


LispWorks User Guide and Reference Manual - 20 Sep 2017

NextPrevUpTopContentsIndex