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

94
Views
¿Cómo puedo sembrar mi base de datos con datos de un graphql?

He recuperado datos de una API ( https://anilist.gitbook.io/anilist-apiv2-docs/ ). Quería saber si era posible sembrar los datos que recuperé en una base de datos como PostgreSQL , tal vez a través de un ORM , pero no sé cómo. Y si tienes la respuesta y quieres orientarme te lo agradeceré.

Así es como recuperé los datos:

 import { useQuery, gql } from "@apollo/client"; import { QUERY } from "../graphql/schema"; export default function AnimList() { const { data, loading, error } = useQuery(QUERY); if (loading) { return <h2>Loading...</h2>; } if (error) { console.error(error); return null; } const medias = data.Page.media; return ( <div className="mainGrid"> <h1>Hello World</h1> {medias.map((value) => { return ( <div key={value.id} className="card"> <img src={value.coverImage.medium} alt="placeholder" /> <p>{value.title.userPreferred} </p> </div> ) })} </div> ); }
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!