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

initialize-database-type Function

Summary

Initializes a database type.

Package

sql

Signature

initialize-database-type &key database-type => type

Arguments
database-type
A database type.
Values
type
A database type.
Description

The function initialize-database-type initializes a database type by loading code and appropriate database libraries according to the value of database-type. If *default-database-type* is not initialized, this function initializes it. It adds database-type to the list of initialized types. The initialized database type is returned.

When connect tries to connect using a database type that has not been initialized yet, it calls initialize-database-type to initialize it before actually trying to connect. Therefore, in most of the cases you do not need to call initialize-database-type explicitly.

See also

database-name
*initialized-database-types*
*default-database-type*


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