8385041bb05df62f5cf8a5fd898d21b12f97a4d5
Previous fix stripped data in Node.js AFTER Prisma loaded the full JSON from PostgreSQL. For 5 entries with PDF attachments, this still meant 25-50MB transferring from DB to Node.js on every page load. Now uses prisma.\ with nested jsonb_each/jsonb_object_agg to strip data/fileData/imageUrl strings >1KB inside the database itself. Heavy base64 never leaves PostgreSQL when lightweight=true.
Description
No description provided
Languages
TypeScript
98.7%
PLpgSQL
0.4%
Shell
0.3%
Dockerfile
0.2%
CSS
0.2%
Other
0.1%