Skip to content

Commit ad277cc

Browse files
committed
better sqlite sample
1 parent 292765d commit ad277cc

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed
-3 KB
Binary file not shown.

beginnerscorner/tests/sqlite/test1.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@
5454
print '--------------------'
5555

5656
# ne kleine selectabfrage (in "sicher")
57-
cursor.execute("SELECT vorname, name FROM user WHERE personalNummer>:personalNummer",
58-
{"personalNummer": 2})
57+
cursor.execute("SELECT vorname, name FROM user WHERE personalNummer>:personalNummer", {"personalNummer": 2})
5958
dataRows = cursor.fetchall()
6059

6160
for data in dataRows:

0 commit comments

Comments
 (0)