sqlc icon indicating copy to clipboard operation
sqlc copied to clipboard

Should generate complete arguments when updating a non-empty string

Open EwenQuim opened this issue 2 years ago • 1 comments

What do you want to change?

I'm trying to make dynamic queries, to not update a column if given input is an empty string. The description field is not recognized in the Update query.

Same result with @xxx notation.

image image

What database engines need to be changed?

SQLite

What programming language backends need to be changed?

Go

EwenQuim avatar Nov 28 '23 09:11 EwenQuim

Feature welcome!

guilhermealvess avatar Dec 09 '23 20:12 guilhermealvess