The same query does not work in Golang (cannot read data - returns 0 value) and works in PostgreSQL

SELECT "Hash", "Name", "Type_id", "Image", "Active", "Set", "CreationTime" FROM "Product" WHERE "Hash"::text in (select u from unnest( string_to_array('1,2,3',',') ) u) ORDER BY "Hash" LIMIT 999999999 OFFSET 0 
  • @Kromster probably meant postgreSql - user2455111
  • yes this is PosgreSQL - Andre Kalinin
  • Give the code you request from Go. - D-side
  • @ D-side code is mentioned in the request - Andre Kalinin
  • one
    @AndreKalinin is a code not on Go. - D-side

0