Next Prev Up Top Contents Index

*connect-if-exists*

Variable
Summary

The default value for the if-exists keyword of the connect function.

Package

sql

Initial Value

:error

Description

The variable *connect-if-exists* is the default value for the if-exists keyword of the connect function. It can take the following values:

:new

Instructs connect to make a new connection even if connections to the same database already exist.

:warn-new

Instructs connect to make a new connection but warn about existing connections.

:error

Instructs connect to make a new connection but signal an error for existing connections.

:warn-old

Instructs connect to select an old connection if one exists (and warns) or make a new one.

:old

Instructs connect to select an old connection if one exists or make a new one.

See also

connect


LispWorks Reference Manual (Windows version) - 14 Dec 2001

Next Prev Up Top Contents Index