megamindat
megamindat
DTDrizzle Team
Created by much 2 yearn on 9/25/2024 in #help
Where clause on 'with' in findMany
Oh got it, thanks @Raphaël M (@rphlmr) ⚡ .
7 replies
DTDrizzle Team
Created by much 2 yearn on 9/25/2024 in #help
Where clause on 'with' in findMany
Please help @Angelelz @Raphaël M (@rphlmr) ⚡ , thank you! 🙂
7 replies
DTDrizzle Team
Created by much 2 yearn on 9/25/2024 in #help
Where clause on 'with' in findMany
I can't seem to make it work either. I'm doing something like this:
with: {
address: {
where: (address, { and, isNull }) =>
and(isNull(address.customerID), isNull(address.userID)),
columns: {
addressLine1: true,
city: true,
state: true,
zipCode: true,
note: true,
},
},
with: {
address: {
where: (address, { and, isNull }) =>
and(isNull(address.customerID), isNull(address.userID)),
columns: {
addressLine1: true,
city: true,
state: true,
zipCode: true,
note: true,
},
},
7 replies
DTDrizzle Team
Created by Macklin on 9/20/2024 in #help
Relations not working when clicked in Drizzle Studio - React Minified Error #310
That's working now. Thanks, @⚡Z.E.U.S⚡ @rphlmr ⚡
8 replies
DTDrizzle Team
Created by Macklin on 9/20/2024 in #help
Relations not working when clicked in Drizzle Studio - React Minified Error #310
Facing the same issue. My application is working perfectly fine (or that's what I assume), but when opened with Drizzle Studio, there's that error. Cc: @Angelelz, @Raphaël M (@rphlmr) ⚡
8 replies
DTDrizzle Team
Created by r9d7 on 9/23/2024 in #help
Error: Cannot access 'interactionsRelations' before initialization
Try moving your schema into one file, that solved the issue.
11 replies
DTDrizzle Team
Created by r9d7 on 9/23/2024 in #help
Error: Cannot access 'interactionsRelations' before initialization
In my case, it happened with circular references.
11 replies
DTDrizzle Team
Created by uzelac on 9/8/2024 in #help
drizzle.team website down?
Probably back, I am able to access it.
10 replies
DTDrizzle Team
Created by megamindat on 9/8/2024 in #help
Reference Error: Cannot access "..." before initialization
Cool, that solves my issue for now.
7 replies
DTDrizzle Team
Created by megamindat on 9/8/2024 in #help
Reference Error: Cannot access "..." before initialization
Oh, I'll try that. Thanks for the quick reply @Angelelz
7 replies
DTDrizzle Team
Created by megamindat on 9/8/2024 in #help
Reference Error: Cannot access "..." before initialization
Hello @Raphaël M (@rphlmr) ⚡ @Angelelz : Please help, thank you! 🙂
7 replies
DTDrizzle Team
Created by megamindat on 9/8/2024 in #help
Reference Error: Cannot access "..." before initialization
These are the files associated.
7 replies
DTDrizzle Team
Created by megamindat on 5/17/2024 in #help
Omit properties when using InferInsertModel and InferSelectModel to create Type defintion
Yes, but I was thinking.. Maybe something like readOnly() and writeOnly() when creating schema, which can be consumed when drawing those inferences.
3 replies
DTDrizzle Team
Created by TJBlackman on 5/14/2024 in #help
Make varchar field one of string union
That's saved as a string.
6 replies
DTDrizzle Team
Created by TJBlackman on 5/14/2024 in #help
Make varchar field one of string union
6 replies
DTDrizzle Team
Created by megamindat on 5/13/2024 in #help
Not enough information to infer relation
Thank you for being so helpful, this is already the third time you've helped me. ❤️
18 replies
DTDrizzle Team
Created by megamindat on 5/13/2024 in #help
Not enough information to infer relation
Thank you so much again, it had been eating my mind.
18 replies
DTDrizzle Team
Created by megamindat on 5/13/2024 in #help
Not enough information to infer relation
Copying and pasting is a bad idea. Haha
18 replies
DTDrizzle Team
Created by megamindat on 5/13/2024 in #help
Not enough information to infer relation
Omg, thank you so much.
18 replies
DTDrizzle Team
Created by megamindat on 5/13/2024 in #help
Not enough information to infer relation
Thank you so much. 🙂
18 replies