Clone() #342
Clone()
#342
-
Would you implement |
Beta Was this translation helpful? Give feedback.
Answered by
vmihailenco
Dec 3, 2021
Replies: 1 comment
-
It was a constant source of bugs in go-pg and in Bun we have even more queries to support, but I would accept a PR adding Clone method. The recommended way is to extract query building into a method and call it whenever you need a duplicate. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
sergolius
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It was a constant source of bugs in go-pg and in Bun we have even more queries to support, but I would accept a PR adding Clone method.
The recommended way is to extract query building into a method and call it whenever you need a duplicate.