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

157
Views
Adonis obtiene datos actuales del campo json

Soy nuevo en adonis.js. y no puedo encontrar ningún ejemplo de cómo obtener datos del campo json. tengo la tabla de destino y en ella tengo el campo json de traducciones. y en ese campo tengo datos como este.

 { "status": "success", "destinations": { "type": "outgoing", "slug": "destionation-1", "translations": { "ge": { "name": "ge-name" }, "en": { "name": "en-name" } }, "createdAt": "2022-03-30T13:26:54.590+04:00", "updatedAt": "2022-03-30T13:26:54.590+04:00", "id": 1 } }

necesito algo como esto

 return await Destination.query() .where('translations', 'ge').orderBy('created_at', 'asc')

necesito obtener datos

 { "name": "ge-name" }

Perdón por mi mal ingles.

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!