home ~ projects ~ socials

Loop Through MySQL Results

TODO: Make this a full example:

cursor.execute("SELECT * FROM some_table")
for row in cursor:
    print(row)

See more here:

https://dev.mysql.com/doc/connector-python/en/connector-python-api-mysqlcursor-fetchone.html

-- end of line --