diff --git a/docs/python-api.rst b/docs/python-api.rst index de26d0a..f629c1d 100644 --- a/docs/python-api.rst +++ b/docs/python-api.rst @@ -1585,6 +1585,7 @@ The ``.indexes`` property returns all indexes created for a table, as a list of The ``.xindexes`` property returns more detailed information about the indexes on the table, using the SQLite `PRAGMA index_xinfo() `__ mechanism. It returns a list of ``XIndex(name, columns)`` named tuples, where ``columns`` is a list of ``XIndexColumn(seqno, cid, name, desc, coll, key)`` named tuples. :: + >>> db["ny_times_us_counties"].xindexes [ XIndex(