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

list-classes Function

Summary

Returns a list of View Classes connected to a given database.

Package

sql

Signature

list-classes &key database root-class test => result-list

Arguments
database
A database.
root-class
A class.
test
A test function.
Values
result-list
A list of class objects.
Description

The function list-classes collects all the classes below root-class (which defaults to standard-db-object) that are connected to the given database specified by database, and which satisfy test. The default for test is cl:identity.

By default, list-classes returns a list of all the classes connected to the default database, *default-database*.


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