How to check the existence of a row in SQLite with Python?,"cursor.execute('insert into components values(?,?)', (1, 'foo'))"