Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

241
Views
consulta de actualización en postgrel RDS en aws

"42703" o "La columna no existe" Comprender el problema

He intentado actualizar la tabla RDS específica de postgrel insertando un nuevo atributo en el objeto de clase.
Los datos serían algo así después de insertar o actualizar:

"clase" : { "isPresent" : falso }

 Details : Database : postgrel Table name : student Attributes for table : student_id, class "class" attribute is of object type

Esta consulta funciona en mi máquina.

 update "student" set "class" = jsonb_set("class"::jsonb, '{isPresent}','false', true) WHERE "student_id" =1

Cuando intento hacer la misma consulta, en aws postgrel no funciona y arroja una consulta de error:

 { "query": "update student set class = jsonb_set('\"student.class\"'::jsonb, '{isPresent}','false', true) WHERE '\"student.student_id\"' = 1" }

Error :

 "column \"class\" of relation \"student\" does not exist"

Cuando probé esto, da error de sintaxis:

 { "query": "update '\"student\"' set '\"class\"' = jsonb_set('\"student.class\"'::jsonb, '{isPresent}','false', true) WHERE '\"student.student_id\"' = 1" }

Creo que el problema es un error de sintaxis: la sintaxis de las comillas postgrel pero no tengo idea de cómo puedo usar comillas dobles debajo de comillas dobles

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!