Expand description
The list_indexes tool: returns index metadata for the database. When given
a table name, only indexes on that table are returned; otherwise all indexes
are listed. Each entry includes the index name, owning table, uniqueness
flag, column list, and partial-index predicate (if any).
Structs§
- Index
Info - Metadata for a single index in the database.
- List
Indexes Input - The input parameters for the
list_indexestool. - List
Indexes Output - The result of listing indexes in the database.
- List
Indexes Tool - List indexes in the database. When a table name is provided, only indexes belonging to that table are returned. Otherwise all indexes across every table are listed. Each index entry includes its name, the table it belongs to, whether it enforces uniqueness, the ordered list of indexed columns, and the WHERE predicate for partial indexes.
Enums§
- List
Indexes Error - Errors specific to the
list_indexestool.