Michael Schaufelberger
Explore posts from serversDTDrizzle Team
•Created by Michael Schaufelberger on 8/29/2024 in #help
How can I create a `nulls not distinct` index in Postgres 15 for `push`?
Hi 👋
I'm having trouble to create such an index.
This
somehow does not create an index that has the
nulls not distinct
constraint.
Whereas a query like this would work.
However, there's a WHERE clause that breaks it.
2 replies
DTDrizzle Team
•Created by Michael Schaufelberger on 7/10/2024 in #help
RQB: Why is a where clause inside a many-to-many relation not allowed?
Say we have posts and tags. Every post can have multiple tags, but a tag can have many posts. So a classical many-to-many relation.
Note: we have a junction table to store the relation
posts
1-n postsToTags
n-1 tag
Now we want to fetch a post with all the tags. We can just do this:
But say we only want the tags that contain "hello" in the label:
Why is it not allowed in the types? Is there something that could easily break if we add a where clause to the subquery?1 replies
DTDrizzle Team
•Created by Michael Schaufelberger on 5/12/2023 in #help
MySQL (Planetscale): Cannot read properties of undefined (reading 'name')
Hi
Hopefully someone can help me. I'm getting the above error in my insert query.
I have no idea what I'm doing wrong...
34 replies