79260241

Date: 2024-12-07 08:28:02
Score: 1
Natty:
Report link

SQLite has a returing clause for INSERT;

see https://www.sqlite.org/lang_insert.html

demo:

sqlite> .schema test
CREATE TABLE temp.test(
id integer primary key autoincrement, value integer);

sqlite> insert into test (value) values (44) RETURNING id;
10

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
Posted by: landerlyoung