IndyI
Convex Community3y ago
6 replies
Indy

Hack for preinserting `_id` and `_creationTime`?

@allen asks: Are there any hacks to inserting data and specifying the _id and _creationTime values? My use case is seed data. I'd like a static set of IDs for my fixtures to make creating relationships easier, and would like to create historical entries of data, as some features of my application are time-sensitive, and I'm unable to to fully test things without records being timestamped > 30 days ago.
Was this page helpful?