Answer the question
In order to leave comments, you need to log in
How to get dictionary data from mysql database?
I am using mysql.connector library. Didn't find it on google. I receive data in this format:
But I know that it is possible like this:
I have been trying to solve this issue for a long time.
Thanks in advance)
("a", "b")
{"a": "a", "b": "b"}
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