📝 Updates my_database.py to my_database.db

This commit is contained in:
Jeff Triplett 2019-02-01 11:34:54 -06:00 committed by GitHub
commit 1ad604fbbd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,9 +13,9 @@ Database objects are constructed by passing in either a path to a file on disk o
from sqlite_utils import Database
db = Database("my_database.py")
db = Database("my_database.db")
This will create ``my_database.py`` if it does not already exist. You can also pass in an existing SQLite connection:
This will create ``my_database.db`` if it does not already exist. You can also pass in an existing SQLite connection:
.. code-block:: python
@ -351,4 +351,4 @@ You can optimize your database by running VACUUM against it like so:
.. code-block:: python
Database("my_database.py").vacuum()
Database("my_database.db").vacuum()