Monopolo11
DTDrizzle Team
•Created by Monopolo11 on 1/21/2024 in #help
Transform output/ simplified relationship
I wanted to simplify the object, as the array that it returns is too complex and brings extra information
5 replies
DTDrizzle Team
•Created by Monopolo11 on 1/21/2024 in #help
Transform output/ simplified relationship
Or something like the example in the second case https://playground.prisma.io/examples/reading/relations/nested-reads
5 replies
DTDrizzle Team
•Created by Monopolo11 on 1/21/2024 in #help
Transform output/ simplified relationship
Maybe a select statement, but how can I turn the relation into an array?
5 replies
DTDrizzle Team
•Created by Monopolo11 on 1/18/2024 in #help
Base Schema / Table definition
Is there a way to do this with the relation too?
10 replies
DTDrizzle Team
•Created by Monopolo11 on 1/18/2024 in #help
Base Schema / Table definition
Thanks!
10 replies
DTDrizzle Team
•Created by Monopolo11 on 1/18/2024 in #help
Base Schema / Table definition
It doesn’t work, it throws an error, saying that the return type is any
10 replies