From 9dff7a38831d471b1dff16d40d89eb5c3b4e84d6 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Sun, 6 Jun 2021 23:02:18 -0700 Subject: [PATCH] Fixed markup --- docs/python-api.rst | 1 + 1 file changed, 1 insertion(+) 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(