How I make two parametres for check database
info = db.execute(f"SELECT * FROM ‘storage_users’ WHERE status = ? balance = ?", [status, balance])
Two WHERE parametres
How I make two parametres for check database
info = db.execute(f"SELECT * FROM ‘storage_users’ WHERE status = ? balance = ?", [status, balance])
Two WHERE parametres
2
Answers
You can use UUID as primary key and use chat_id or user_id for Where’s condition. And please explain your question breifly so we can answer better
Just add AND between 2 WHERE conditions: