ᅠ
Size: a a a
ᅠ
ᅠ
<Ч
g
async def insert_local_info(uid = None, text = None, img_path = None):
con = sqlite3.connect(r'database/local_db.db')
cursor = con.cursor()
try:
cursor.execute(f"INSERT INTO post_info(uid, text, img_path) VALUES ('{uid}', '{text}', '{img_path}');")
except Exception as e:
print(e)
con.commit()
cursor.close()
con.close()
S
ᅠ
ᅠ
S
c.execute("INSERT INTO stocks VALUES ('2006-01-05','BUY','RHAT',100,35.14)")
S
ᅠ
g
c.execute("INSERT INTO stocks VALUES ('2006-01-05','BUY','RHAT',100,35.14)")
pl
async def insert_local_info(uid = None, text = None, img_path = None):
con = sqlite3.connect(r'database/local_db.db')
cursor = con.cursor()
try:
cursor.execute(f"INSERT INTO post_info(uid, text, img_path) VALUES ('{uid}', '{text}', '{img_path}');")
except Exception as e:
print(e)
con.commit()
cursor.close()
con.close()
S
<Ч
S
<Ч
ᅠ
ЕП
S
ᅠ