usage example fix
This commit is contained in:
parent
3c67459bf1
commit
09bb45e867
@ -26,7 +26,7 @@ Basic functionality
|
|||||||
from ptvp35 import DbFactory, KVJson
|
from ptvp35 import DbFactory, KVJson
|
||||||
|
|
||||||
async def main():
|
async def main():
|
||||||
async with DbFactory(pathlib.Path('example.db', kvfactory=KVJson())) as connection:
|
async with DbFactory(pathlib.Path('example.db'), kvfactory=KVJson()) as connection:
|
||||||
await _main(connection)
|
await _main(connection)
|
||||||
|
|
||||||
Different ways to get/set a value:
|
Different ways to get/set a value:
|
||||||
|
Loading…
Reference in New Issue
Block a user