要素を保存したいタプルがあります。次のように挿入しようとしていますが、次のエラーが表示されます。何が間違っていますか? records_to_be_inserted は、8 つの要素を持つタプルです。
with self.connection:
cur = self.connection.cursor()
cur.executemany("INSERT INTO rehberim(names, phone, mobile, email, \
photo, address, note, date) VALUES(?, ?, ?, ?, ?, ?, ?, ?)", self.records_to_be_inserTed)
トレースバック (最新の呼び出しが最後): ファイル "/home/tayfun/workspace/personal_guide/modules/mainwindow.py"、57 行目、save_records の写真、住所、メモ、日付) VALUES(?, ?, ?, ?, ? , ?, ?, ?)", self.records_to_be_inserTed) sqlite3.ProgrammingError: 指定されたバインドの数が正しくありません。現在のステートメントでは 8 が使用されていますが、0 が指定されています。