C
C#•3y ago
Poller

Pomello MySql not mapping Bools correctly?

The screenshor shows a small snippet where i get a db entry, and set the bool property from false to true. then i save the change. i get a propper log in the console that the query gets executed, but no changes in the database occur. The project itself all works as expected until now that i add a boolean column. Any ideas why this could happen? (reading values from the database works as expected)
2 Replies
Angius
Angius•3y ago
IIRC MySQL stores booleans as TINYINT So it should all be fine Just one of many quirks of MySQL Ah, changes don't persist? Could be because you're not awaiting your async method?
Poller
PollerOP•3y ago
indeed it was that.. sorry for not updating here. i had a accute "i want to bed" 🙂 stupid mistake. (didnt have this service as Task, so i didnt get the warning...)
Want results from more Discord servers?
Add your server