<SqlDelight/SQLite How to return type for update/i...
# stackoverflow
r
SqlDelight/SQLite How to return type for update/insert/delete How can I return results when using delete/update/insert? I saw on the issues that using RETURNING is suggested, but it doesn't work. sqldelight 2.0.0 CREATE TABLE folder ( id INTEGER PRIMARY KEY, name TEXT NOT NULL ); insertFolder: INSERT INTO folder VALUES (?,?) RETURNING *; Compiling with dialect app.cash.sqldelight.dialects.sqlite_3_18.SqliteDialect xxx.sq: (21, 0): ',' expected, got 'RETURNING' 19 INSERT INTO folder 20 VALUES (?,?) 21 RETURNING * ^^^^^^^^^...