Answer the question
In order to leave comments, you need to log in
How to make a selection and set a flag in one step?
I need to fetch the data for processing and set the processing flag for each record. So that I can take data from the database in several threads and each thread would take its data without interfering with others.
How to do it right?
And how to set the is_processing flag for all specified id?
SELECT FROM mytable id, path LIMIT 10;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question