The function find-database
, given a string database, searches amongst the connected databases for one matching the name database.
If there is exactly one such database, it is returned and the second return value count is 1. If more than one databases match and errorp is nil
, then the most recently connected of the matching databases is returned and count is the number of matches. If no matching database is found and errorp is nil
, then nil
is returned. If none, or more than one, matching databases are found and errorp is true, then an error is signaled.
If the argument database is a database, it is simply returned.
LispWorks User Guide and Reference Manual - 20 Sep 2017