mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-27 20:34:12 +02:00
Corrected Database(memory=True) documentation
This commit is contained in:
parent
0a0cec3cf2
commit
9262c3e7c0
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ If you want to create an in-memory database, you can do so like this:
|
||||||
|
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
db = Database(sqlite3.connect(memory=True))
|
db = Database(memory=True)
|
||||||
|
|
||||||
Tables are accessed using the indexing operator, like so:
|
Tables are accessed using the indexing operator, like so:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue