Join Slack
Powered by
My SQL is rusty and I have no experience with SQLD...
# squarelibraries
r
ribesg
07/30/2019, 7:38 PM
My SQL is rusty and I have no experience with SQLDelight. I’m trying to create an insert function which returns the inserted row id. I tried this:
Copy code
insert: INSERT INTO myTable VALUES (NULL, ?, ?, ?); SELECT LAST_INSERT_ROWID();
But it still generates a function returning
Unit
18
Views
Open in Slack
Previous
Next