Skip to content

Cannot use Set to increment column value #625

Answered by vmihailenco
danxcraig asked this question in Q&A
Discussion options

You must be logged in to vote

You can use q.Set("col = col + ?", 1) or q.Set("col = ?", bun.Safe("col + 1"))

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@danxcraig
Comment options

Answer selected by danxcraig
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #622 on July 22, 2022 09:34.