omar
DTDrizzle Team
•Created by omar on 1/29/2024 in #help
Is this a problem with Drizzle or Bun?
I'm having this issue. I hope I can fix it without having to download Node!! Any help is appreciated.
https://github.com/oven-sh/bun/issues/7343
5 replies
DTDrizzle Team
•Created by omar on 1/15/2024 in #help
Can I use Drizzle in Nextjs client components?
I create this file.
Can I use it in a client component or should I use it in a server action instead and then use the server action inside a client component?
1 replies
DTDrizzle Team
•Created by omar on 1/13/2024 in #help
How to create a variable with the same name as the table name?
I have my schema defined like this.
And then I have this file, where I'm trying to query the users.
Is there anyway I can reuse the name of the table? For example, const
users
?
Also, I'm new to Postgres and JS ORMs in general, coming from Entity Framework, is there a way to define the model/schema in singular terms and then the ORM rename the table to a plural form? I mean, my schema would be User and then in the database, it will be Users.
Thanks!12 replies