9 Replies
It does feel inefficient! But it’s not at all, and yeah mapping/looping is the way. You can async map for concurrent inserts as well.
okay thank you
It’s really very fast
im migrating a whole project from firebase to convex btw
Nice! Feel free to post questions along the way
i have this one
https://discord.com/channels/1019350475847499849/1219202999659003977
there's like 100,000 production records that'll be transferr
Ah this is for migration
Splitting into chunks should suffice
Streaming import may be worth looking at, assuming it’s compatible with firebase: https://docs.convex.dev/database/import-export/streaming
Streaming Data in and out of Convex | Convex Developer Hub
Streaming Data in and out of Convex
could also use
npx convex import
if it's a one-time migration