tortoise-orm icon indicating copy to clipboard operation
tortoise-orm copied to clipboard

The problem of saving data

Open Funnya2022 opened this issue 2 years ago • 5 comments

Hello, I have the following problem. At some unknown moment, 1% of users have problems with saving data. Can you tell me what the problem is?

Funnya2022 avatar Oct 18 '23 16:10 Funnya2022

We definitely need more information to even formulate a hypothesis:

  • Version of tortoise orm
  • version of python
  • How are users saving data ? is tortoise being used within a rest API ? If so which one ?
  • Are there any errors? If so can you share the traceback? etc etc..

It would also be useful to know what tests have been carried out and how the problem can be reproduced.

vlakius avatar Oct 19 '23 14:10 vlakius

There are no errors. Data is saved in the usual way via save()

Funnya2022 avatar Oct 24 '23 13:10 Funnya2022

As mentioned above, it is not possible to determine the cause without more information.

Try to isolate the problem and then provide in a minimal example to reproduce it

vlakius avatar Oct 24 '23 13:10 vlakius

I found all the solutions. It was my fault. The problem was that I had a problem in the time frame, which always gave old user data due to functions that were constantly updated and there were data rollbacks. The problem wasn't the tortois.

Funnya2022 avatar Nov 15 '23 15:11 Funnya2022

Thank you for the update . I think this issu can now be closed @long2ice

vlakius avatar Dec 15 '23 08:12 vlakius