LIST-INDEXES — Returns a list of database indexes.
Function
owner
A string, NIL or :all.
databaseA database object which defaults to *default-database*.
on
The name of a table as a string, symbol or SQL
expression, a list of such names or NIL.
resultA list of strings.
Returns a list of strings representing index names in
database which defaults to
*default-database*. owner
is NIL by default which means that only indexes owned by users
are listed. If owner is a string denoting
a user name, only indexes owned by owner
are listed. If owner is
:all then all indexes are listed.
The keyword argument on limits the
results to indexes on the specified tables. Meaningful values
for on are NIL (the default) which
means that all tables are considered, a string, symbol or SQL
expression representing a table name in
database or a list of such table
identifiers.