Corrected .table_views() -> .view_names()

This commit is contained in:
Simon Willison 2019-08-26 07:03:22 +02:00 committed by GitHub
commit 68a5cb1b8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,9 +67,9 @@ You can also iterate through the table objects themselves using the ``.tables``
Listing views
=============
``.table_views()`` shows you a list of views in the database::
``.view_names()`` shows you a list of views in the database::
>>> db.table_views()
>>> db.view_names()
['good_dogs']
You can iterate through view objects using the ``.views`` property::