datasette-insert
datasette-insert copied to clipboard
feature request: expose inserted row ids
Hello, thank you for the wonderful work!
When a table's primary key is generated by sqlite, it would be useful to return a reference to that id. For example, my use case is a web app where I would like to redirect a user after a form entry.
Exposing last_pk/last_rowid would be enough for single records I think, but it may be good to consider how to handle multiples.