mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-27 20:34:12 +02:00
Corrected .table_views() -> .view_names()
This commit is contained in:
parent
53124bc02f
commit
68a5cb1b8e
1 changed files with 2 additions and 2 deletions
|
|
@ -67,9 +67,9 @@ You can also iterate through the table objects themselves using the ``.tables``
|
||||||
Listing views
|
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']
|
['good_dogs']
|
||||||
|
|
||||||
You can iterate through view objects using the ``.views`` property::
|
You can iterate through view objects using the ``.views`` property::
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue