You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What value when auto_increment of primary key after inserted?
If the primary key is a INTEGER PRIMARY KEY (aka an alias for the rowid), then you can use
auto last_id = db.last_insert_rowid();
Otherwise I don't think that sqlite makes that information available. (But if you want to use an auto_increment primary key you normally want to make it a rowid alias anyway)
How many rows has modified by an update command?
What value when auto_increment of primary key after inserted?
The text was updated successfully, but these errors were encountered: