S
S
szjyakgf2022-01-05 17:24:23
SQLite
szjyakgf, 2022-01-05 17:24:23

How to reset sqlite column to 0 for telegram bot?

Bot on aiogram. There is a Sqlite database. Which contains the user id, user nickname and game coins (just numbers)
How can I reset all data of 3 columns for all users to 0.
For example, with the /reset command

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
antares4045, 2022-01-05
@szjyakgf

UPDATE table_name SET column_name = 0;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question