Returns a list of the table names in a database.
sql
list-tables &key database owner => table-list
| database⇩ |
A database. |
| owner⇩ | nil, :all or a string. |
| table-list |
A list of table names. |
The function list-tables returns the list of table names in database, which has a default value of *default-database*.
If owner is nil, only user-owned tables are considered. This is the default.
If owner is :all, all tables are considered.
If owner is a string, this denotes a username and only tables owned by owner are considered.
LispWorks® User Guide and Reference Manual - 18 Feb 2025 15:32:41