Column Equal to another Column #1903
Answered
by
vmihailenco
andresmonc
asked this question in
Q&A
-
I'm trying to write a where clause where one column is equal to the value in another column however I'm getting an error because it's putting the column value as a string and the id field is an int. Is there anyway to do this query with go-pg?
but i'm looking for
|
Beta Was this translation helpful? Give feedback.
Answered by
vmihailenco
Aug 4, 2021
Replies: 1 comment
-
Use |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
andresmonc
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use
pg.Safe("original_firecall_id")