sqlc icon indicating copy to clipboard operation
sqlc copied to clipboard

Support for MariaDB's RETURNING clause

Open Jille opened this issue 1 year ago • 0 comments

What do you want to change?

MariaDB 10.5.0 has added INSERT INTO .. RETURNING like PostgreSQL supports.

https://mariadb.com/kb/en/insertreturning/

DELETE .. RETURNING is also supported, but UPDATE .. RETURNING not yet.

github.com/pingcap/tidb/pkg/parser doesn't seem to support it.

What database engines need to be changed?

MySQL

What programming language backends need to be changed?

No response

Jille avatar Jan 24 '24 10:01 Jille