home/roleplay/sync-db

Sync db

GPTClaudeGemini··1,244 copies·updated 2026-07-14
sync-db.prompt
Write a Node.js script that fetches records from a Postgres database and pushes them to an Algolia index in batches of 1000 using `saveObjects`.

when to use it

Community prompt sourced from the open-source GitHub repo ashish7802/awesome-api-skills (MIT). A "Sync db" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

roleplaycommunitygeneral

source

ashish7802/awesome-api-skills · MIT