LIST-INDEXES — Returns a list of database indexes.
Function
A string, NIL or :all.
A database object which defaults to *default-database*.
The name of a table as a string, symbol or SQL expression, a list of such names or NIL.
A 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.