mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-07-09 21:45:00 +00:00
bindings/python: Add Python example
This commit is contained in:
parent
102b0e964a
commit
229e62704b
1 changed files with 6 additions and 0 deletions
6
bindings/python/example.py
Normal file
6
bindings/python/example.py
Normal file
|
@ -0,0 +1,6 @@
|
|||
import limbo
|
||||
|
||||
con = limbo.connect("sqlite.db")
|
||||
cur = con.cursor()
|
||||
res = cur.execute("SELECT * FROM users")
|
||||
print(res.fetchone())
|
Loading…
Add table
Add a link
Reference in a new issue