What is the syntax for building an INSERT command using MySQLDB. All that's in
the documentation is multi-row. I'm looking for examples of single row
inserts.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
What is the syntax for a single row insert?
Same as for any other SQL database.
http://dev.mysql.com/doc/refman/5.0/en/insert.html
What is the syntax for building an INSERT command using MySQLDB. All that's in
the documentation is multi-row. I'm looking for examples of single row
inserts.
Just use cursor.execute(your_insert_query, tuple_of parameters)
Thanks for confirming I'm using the correct syntax.