Skip to content

Commit b01a8a0

Browse files
authored
Update main.py (#79)
add commit. If you don't do this, the additions are not persistent in the remote db.
2 parents 0ffa834 + 3eaaec8 commit b01a8a0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/remote/main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@
1414
conn.execute("INSERT INTO users VALUES ('[email protected]');")
1515
conn.execute("INSERT INTO users VALUES ('[email protected]');")
1616

17+
conn.commit()
1718

1819
print(conn.execute("select * from users").fetchall())

0 commit comments

Comments
 (0)