Closed jchris closed 10 months ago
how much work would it be to sidecar them so they don't slow down initial app load times? since the file() method is async, we can get the car file for the attachment then.
this would mean we need to keep the attachment car in the attachment doc, and we can't compact attachments easily, but maybe worth it. We can put all files from same bulk update into one car.
Which means there's a good reason to expose bulk at the db layer, b/c a multi file upload can become a single car
LFG
this allows saving and loading of File objects