Name

FIND-DATABASE —

Function

Syntax

       (FIND-DATABASE DATABASE &KEY (ERRORP T) (DB-TYPE NIL)) [function] => 

Arguments and Values

Description

Returns the connected databases of type DB-TYPE whose names match the string DATABASE. If DATABASE is a database object, it is returned. If DB-TYPE is nil all databases matching the string DATABASE are considered. If no matching databases are found and ERRORP is nil then nil is returned. If ERRORP is nil and one or more matching databases are found, then the most recently connected database is returned as a first value and the number of matching databases is returned as a second value. If no, or more than one, matching databases are found and ERRORP is true, an error is signalled.

Examples

        
      

Side Effects

Affected by

Exceptional Situations

See Also

Notes