cashapp / sqldelight

SQLDelight - Generates typesafe Kotlin APIs from SQL
https://cashapp.github.io/sqldelight/
Apache License 2.0
6.03k stars 503 forks source link

SQLite 3.35 RETURNING clause #4889

Open TarasMazepa opened 7 months ago

TarasMazepa commented 7 months ago

SQLDelight Version

2.0.0

SQLDelight Dialect

app.cash.sqldelight:sqlite-3-38-dialect:2.0.0

Describe the Bug

SQLite started to support RETURNING clause from version 3.35 https://www.sqlite.org/syntax/returning-clause.html

It would be nice to add support for it to SQLDelight

Stacktrace

No response

eygraber commented 6 months ago

It should be supported already - https://github.com/cashapp/sqldelight/pull/2998

What do you see that isn't working?

myq-tmazepa commented 6 months ago

@eygraber let me get back to you with example that doesn't work for me.