syntax error at or near “n” when uploading to a postgis db. how to escape correclty?
i am getting a lot of error messages when uploading data to a postgis / postgresql server. The issue seem to be unescaped characters in jsonb objects. this is an examplary log from the db:
‘could not determine data type of parameter’ when sending text to postgresql db
i am trying to send a json as text to a postgis / postgresql function with pg in node / typescript.