fetchall tag

1 questions


1 answers
106 views
0
Python psycopg2 library fetchall() list data output method?

fetchone() is data[0] output and fetchall() is data[0] output ('data1',).For fetchphone(), you cannot import data1, data2 because you import only one line of the table gel.So data1,data2 is imported, ...


© 2024 OneMinuteCode. All rights reserved.