Skip to content

Commit 3e16c1a

Browse files
authored
Update README.md
1 parent a375389 commit 3e16c1a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ import sqlite3
4646
print(db.execute("select sqlite_version()").fetchall()) # sqlite version
4747
db = sqlite3.connect("your_datebase.db")
4848
db.execute("select name from sqlite_master where type='table'").fetchall() # tables
49+
for row in db.execute("SELECT * FROM any_table LIMIT 10"): print(row) # rows
50+
4951

5052
```
5153

0 commit comments

Comments
 (0)