I have a code (golang/postgres) something like this and I want to print/save the raw sql statement created.
state.ConnectionState.DB.Find(&companies,`company.name similar to ?`, param1)
I have a code (golang/postgres) something like this and I want to print/save the raw sql statement created.
state.ConnectionState.DB.Find(&companies,`company.name similar to ?`, param1)