Will
Explore posts from serversDTDrizzle Team
•Created by Will on 9/4/2023 in #help
ERROR: prepared statement "s9656" does not exist
@softwarecurator no sorry
11 replies
DTDrizzle Team
•Created by Will on 9/4/2023 in #help
ERROR: prepared statement "s9656" does not exist
@Andrew Sherman neon http serverless
11 replies
DTDrizzle Team
•Created by bernardoquina on 5/23/2023 in #help
Count in relational queries
@bloberenober any news here?
7 replies
DTDrizzle Team
•Created by Andrey Los on 8/8/2023 in #help
There is not enough information to infer relation. What am I doing wrong?
but maybe i should so i dont have to deal with headaches like this!!
11 replies
DTDrizzle Team
•Created by Andrey Los on 8/8/2023 in #help
There is not enough information to infer relation. What am I doing wrong?
man i just dont want to pay for auth lol
11 replies
DTDrizzle Team
•Created by Andrey Los on 8/8/2023 in #help
There is not enough information to infer relation. What am I doing wrong?
@rip21 so glad you posted this, I'm dealing with the same exact thing right now. Any chance you're also using next-auth and trying to figure out how to redirect to an organization id dynamic URL path after signin?
11 replies
DTDrizzle Team
•Created by Will on 8/3/2023 in #help
How do I import a type?
feature request I guess!
14 replies
DTDrizzle Team
•Created by Will on 8/3/2023 in #help
How do I import a type?
yeah that's fair, but I guess it would be nice to have a command that automatically generated all the types just by way of generating these lines :
export type myEntityType = InferModel<typeof myEntity>;
14 replies
DTDrizzle Team
•Created by Will on 8/3/2023 in #help
How do I import a type?
@fermentfan oh thank you this is super helpful - I'm surprised that drizzle doesn't have a way to do this automatically like prismas
generate
14 replies
DTDrizzle Team
•Created by Will on 8/3/2023 in #help
How do I import a type?
@arwancer yup exactly!
14 replies
DTDrizzle Team
•Created by Will on 8/3/2023 in #help
How do I import a type?
@behalf I don't think so, can you provide an example?
The schemas defined in schema.ts are not types, at least they don't appear to work like regular types when I try to use them.
14 replies
DTDrizzle Team
•Created by Will on 8/3/2023 in #help
How do I import a type?
@behalf but when I import, I'm importing the schema, not the type
14 replies