作者:沫cc乀纱蔓 | 来源:互联网 | 2023-01-17 16:50
OniPhone,whatsthebestwaytogettheIDofthelastinsertedrowonanSQLiteDatabaseusingFM
On iPhone, what's the best way to get the ID of the last inserted row on an SQLite Database using FMDB ?
在iPhone上,使用FMDB获取SQLite数据库上最后插入行的ID的最佳方法是什么?
Is there a better way rather than doing :
有没有更好的方式而不是做:
SELECT MAX(ID)
3 个解决方案