Row scan error – Destination kind ‘slice’ not supported for value kind ‘slice’ of column ‘col_2_name’
Below code:
Golang squirrel query builder build query which does not execute?
I have a code which does unit testing, where I prepare a database for the tests (I do not use sql-go-mock), so I want to insert returning id with a simple sql INSERT INTO, but for some reason pgx errors with panic: ERROR: syntax error at or near ")" (SQLSTATE 42601)
, but the query does execute in a goland console.