feat: fix bug

This commit is contained in:
MarkusJoe
2022-02-05 16:45:35 +08:00
parent 74db8ed1ac
commit 9860df7375
9 files changed
+208 -81

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
#!/usr/bin/env python3
# -- coding:utf-8 --
# @Author: markushammered@gmail.com
# @Development Tool: PyCharm
# @Create Time: 2022/2/5
# @File Name: t.py
import sqlite3
conn = sqlite3.connect('data.db')
cursor = conn.cursor()
cursor.execute('select * from ReqCount')
print(cursor.fetchall())
cursor.execute('update ReqCount set times=99999998 where name="MarkusJoe"')
conn.commit()