在 Python 的 sqlite3 模块中,execute 和 executemany 方法虽然都用于执行 SQL 语句,但它们在性能和使用场景上有明显的区别。
sqlite3
execute
executemany