Skip to Content
Menu
This question has been flagged
1824 Views

Hi all, i am having this issues.

I want to make a function, that will loop until column "a" of a record have a new update.
Example:

i have a product record with quantity is 3 . I want to make a function to do a loop until quantity of product is updated.

How can i do it ? Actually i was make a test like this:

while product.qty == 3:

   continue

and i update qty of product become 5 by SQL query in third party, but in the loop, it always show qty is 3.
Have anyway to do it ? 
I need your help so much.
Thank you

Avatar
Discard
Related Posts Replies Views Activity
2
Dec 24
278
1
Oct 24
339
4
Oct 24
328
2
Oct 24
366
2
Dec 24
682