Skip to content

feat(sqlite) add support for returning#1741

Merged
kyleconroy merged 1 commit intosqlc-dev:mainfrom
hakobera:feat-sqlite-add-support-for-returning
Jul 12, 2022
Merged

feat(sqlite) add support for returning#1741
kyleconroy merged 1 commit intosqlc-dev:mainfrom
hakobera:feat-sqlite-add-support-for-returning

Conversation

@hakobera
Copy link
Contributor

@hakobera hakobera commented Jul 11, 2022

Implement #1724 .
Support both RETURNING <column, column, ...> and RETURNING *.

  • add returning-clause support for SQLite parser
    • Insert
    • Update
    • Delete
  • add end to end test for SQLite
  • update PostgreSQL end to end test to verify RETURNING * support

@kyleconroy Do you think we should update examples to use RETURNING?

@kyleconroy
Copy link
Collaborator

Let's update the examples in a separate PR

@kyleconroy kyleconroy merged commit 8618c39 into sqlc-dev:main Jul 12, 2022
@hakobera hakobera deleted the feat-sqlite-add-support-for-returning branch July 12, 2022 07:52
jlisthood pushed a commit to jlisthood/sqlc that referenced this pull request Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants