Browse Source

SQLite

pull/9/head
Jure Šorn 6 years ago
parent
commit
93aefa59f6
1 changed files with 2 additions and 1 deletions
  1. 3
      README.md

3
README.md

@ -772,7 +772,8 @@ db = sqlite3.connect(<filename>)
```python
cursor = db.execute(<query>)
if cursor:
<list> = cursor.fetchall() # Or cursor.fetchone()
<tuple> = cursor.fetchone() # First row.
<list> = cursor.fetchall() # Remaining rows.
db.close()
```

Loading…
Cancel
Save