lukelearnstopaintL
Convex Community4mo ago
3 replies
lukelearnstopaint

Import mock data including _id

I’m attempting to populate my convex db with mock data and that will have to include the _id fields so that I can create the relationships between documents.

I can see that _ids are base 32 strings (mixture of lower case letters and numbers) but sticking to that format still results in the import telling me “invalid _id.

How can I generate my own valid ids?

Many thanks!
Was this page helpful?