thejacer87
thejacer87
Explore posts from servers
PPrisma
Created by thejacer87 on 2/4/2025 in #help-and-questions
Is there a recommended way to create an aws lambda layer?
I'm bumping up to size limits on the layer. I have only 3 prisma packages in the layer and it already exceeds the limit. I've tried a few solutions before, but none have worked and basically just ended splitting each package into it's own layer, which is cumbersome to say the least side note: do we have a way to create one package for multiple databases? i assume that would reduce the size but i really have no idea
9 replies
NNuxt
Created by thejacer87 on 8/28/2024 in #❓・help
UTable static column width
how can I set certain columns to a fixed-width
2 replies
PPrisma
Created by thejacer87 on 8/14/2024 in #help-and-questions
check for multiple conditions on the same field
i think there is a simple solution that i am over looking but i am building this query:
where: {
AND: [
{ key_id: { in: branchKeyIds } },
{ key_id: { notIn: machineSpecificKeyIds } },
{ key_id: { notIn: inHouseTestKeyIds } },
{ key_id: { notIn: weekendKeyIds } },
{ key_id: { notIn: win32OnlyKeyIds } },
{ test_num: { notIn: exclusionTestNums } },
{ test_num: { lt: 24000 } },
],
},
where: {
AND: [
{ key_id: { in: branchKeyIds } },
{ key_id: { notIn: machineSpecificKeyIds } },
{ key_id: { notIn: inHouseTestKeyIds } },
{ key_id: { notIn: weekendKeyIds } },
{ key_id: { notIn: win32OnlyKeyIds } },
{ test_num: { notIn: exclusionTestNums } },
{ test_num: { lt: 24000 } },
],
},
but i am not getting the data that i would expect it this not the correct way to have multiple ANDs for a single field
3 replies
NNuxt
Created by thejacer87 on 11/23/2022 in #❓・help
write after end
in the last day or so it looks like i am getting this nitro error:
[nitro] [dev] [uncaughtException] Error [ERR_STREAM_WRITE_AFTER_END]: write after end
[nitro] [dev] [uncaughtException] Error [ERR_STREAM_WRITE_AFTER_END]: write after end
only seems to happen in prod. dont see the error in dev or staging...
8 replies