nk
DTDrizzle Team
•Created by nk on 6/27/2024 in #help
SelectionMap with nested objects
Hi, I'm trying to re-create the db.query({ with: {} }) but it's not working with nested objects because I don't know the type.
For example:
the product.testA will work, but product.testA.id will not, which is what I'm trying to fix.
I imagine there is a helper for this?
1 replies
DTDrizzle Team
•Created by nk on 5/19/2024 in #help
column "roles" is of type integer[] but default expression is of type integer
I don't understand what the problem is. It's clearly an array, right?
2 replies
DTDrizzle Team
•Created by nk on 1/29/2024 in #help
Dynamic select with types?
Does anyone know how to do this correctly? Example:
16 replies
DTDrizzle Team
•Created by nk on 1/27/2024 in #help
Question
Is this how you're supposed to do it?
Or should I export the schema and use separate instances.
It almost seems like using an instance for each one of my instances was faster by a ms or 2 than doing it like this, which is why I'm curious.
5 replies
DTDrizzle Team
•Created by nk on 1/20/2024 in #help
Using "which" to check an alias isn't working.
Am I missing something?
9 replies
DTDrizzle Team
•Created by nk on 1/19/2024 in #help
Recursive category/subcategories, can't infer relation
6 replies
DTDrizzle Team
•Created by nk on 1/15/2024 in #help
$dynamic with multiple groupBy statements
Is there a way to do this?
It seems that using more than one is overwriting the previous one.
Example:
6 replies