Skip to content

Conversation

@kyleconroy
Copy link
Collaborator

If a query specifies a return value (:one or :many), require that
statements have a RETURNING clause.

Fixes #121

$ sqlc generate # package ondeck query/city.sql:26:1: query "DeleteCity" specifies parameter ":one" without containing a RETURNING clause 
If a query specifies a return value (:one or :many), require that statements have a RETURNING clause. Fixes #121
@kyleconroy kyleconroy merged commit 6da56ff into master Nov 18, 2019
@kyleconroy kyleconroy deleted the returning-one branch November 18, 2019 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants