本文主要介绍Python中Sqlite3数据库中,通过insert语句插入数据时,获取返回自增的主键id的方法。
原文地址:Python Sqlite3 获取insert插入的主键id lastrowid