mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-23 01:14:31 +02:00
📝 Updates my_database.py to my_database.db (#9)
This commit is contained in:
parent
ca225b02c0
commit
c5068a0972
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
@ -364,4 +364,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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue