edarcode
edarcode
Explore posts from servers
DTDrizzle Team
Created by edarcode on 8/17/2024 in #help
query with
That same day I closed the browser, relog server and it returned to normal
10 replies
DTDrizzle Team
Created by marcbejar on 8/19/2024 in #help
Help with Join query
You can use db.query.table and map the result and put the names you like for c/key. I assume you already have the tables related in your schema https://orm.drizzle.team/docs/rqb#select-filters with npx drizzle-kit introspect you can generate all relations auto
3 replies
DTDrizzle Team
Created by Δάρκζυ on 8/19/2024 in #help
How can I handle ID collisions
ok
10 replies
DTDrizzle Team
Created by Δάρκζυ on 8/19/2024 in #help
How can I handle ID collisions
uuid ? e.e
10 replies
DTDrizzle Team
Created by AndréLB on 8/17/2024 in #help
Joins with results in arrays
agg with you can query information of other tables, if you do click control + space ts help you
139 replies
DTDrizzle Team
Created by AndréLB on 8/17/2024 in #help
Joins with results in arrays
No description
139 replies
DTDrizzle Team
Created by AndréLB on 8/17/2024 in #help
Joins with results in arrays
haha bro Just like I did. With with, I think a high-ranking official here told me that the form with with is more effective. @AndréLB
139 replies
DTDrizzle Team
Created by AndréLB on 8/17/2024 in #help
Joins with results in arrays
although I don't know if the cache is tricking me haha
139 replies
DTDrizzle Team
Created by AndréLB on 8/17/2024 in #help
Joins with results in arrays
No description
139 replies
DTDrizzle Team
Created by AndréLB on 8/17/2024 in #help
Joins with results in arrays
No description
139 replies
DTDrizzle Team
Created by AndréLB on 8/17/2024 in #help
Joins with results in arrays
No description
139 replies
DTDrizzle Team
Created by AndréLB on 8/17/2024 in #help
Joins with results in arrays
wait for you
139 replies
DTDrizzle Team
Created by AndréLB on 8/17/2024 in #help
Joins with results in arrays
how did you do the query ? @Darren
139 replies
DTDrizzle Team
Created by AndréLB on 8/17/2024 in #help
Joins with results in arrays
No description
139 replies
DTDrizzle Team
Created by AndréLB on 8/17/2024 in #help
Joins with results in arrays
@Darren I've been doing crazy things all day, and I came to the conclusion that with doesn't actually bring you the followers or following, it simply brings you the records where the specified id appears and then I decide based on the result who is a follower and followed.
139 replies
DTDrizzle Team
Created by AndréLB on 8/17/2024 in #help
Joins with results in arrays
No description
139 replies
DTDrizzle Team
Created by AndréLB on 8/17/2024 in #help
Joins with results in arrays
There you go with query, hahaha, this reminds me of the death callback.
139 replies
DTDrizzle Team
Created by AndréLB on 8/17/2024 in #help
Joins with results in arrays
Likewise, I think it is possible to do those 3 selects in 1, right? The truth is that I have never studied SQL in depth, only the basics. So I am not very good at consulting with SQL, but I like it better.
139 replies
DTDrizzle Team
Created by AndréLB on 8/17/2024 in #help
Joins with results in arrays
I can't change the column names, because the schema makes sense to me. What I don't find makes sense is when I consult with a query. In fact, many documentations use followerBy instead of followerId, but it doesn't matter in the end. The schema is correct for me. @Darren
139 replies
DTDrizzle Team
Created by AndréLB on 8/17/2024 in #help
Joins with results in arrays
err cap. this is correct xD
139 replies