George
Explore posts from serversDTDrizzle Team
•Created by Kai Revona on 2/2/2024 in #help
Nested comment
@nagaraj7737 here's the docs reference, you should create a new thread since this is unrelated (
.defaultNow()
)20 replies
DTDrizzle Team
•Created by Kai Revona on 2/2/2024 in #help
Nested comment
https://orm.drizzle.team/docs/column-types/pg#timestamp
https://orm.drizzle.team/docs/column-types/mysql#timestamp
20 replies
DTDrizzle Team
•Created by Tilon on 2/12/2024 in #help
Raw SQL much faster (200x) than Drizzle for some queries
im using pgvector on a large dataset (250m+ rows) and have no problem with it
8 replies
DTDrizzle Team
•Created by Tilon on 2/12/2024 in #help
Raw SQL much faster (200x) than Drizzle for some queries
do you have an example reproduction, or at least the raw query vs drizzle query?
8 replies
DTDrizzle Team
•Created by Kai Revona on 2/2/2024 in #help
Nested comment
thats fine, you can remove the fks
20 replies
DTDrizzle Team
•Created by Kai Revona on 2/2/2024 in #help
Nested comment
@Kai Revona hope this helps
20 replies
DTDrizzle Team
•Created by Kai Revona on 2/2/2024 in #help
Nested comment
Adjust the connection to use planetscale (im testing locally with mysql)
20 replies
DTDrizzle Team
•Created by Kai Revona on 2/2/2024 in #help
Nested comment
I translated the prisma schema to drizzle:
20 replies
DTDrizzle Team
•Created by Kai Revona on 2/2/2024 in #help
Nested comment
you can still define relations - they're seperate from the fks
20 replies
DTDrizzle Team
•Created by babakfp on 1/22/2024 in #help
What should I put inside `dbCredentials`? I'm using a local `.db` file with `better-sqlite3`
8 replies
DTDrizzle Team
•Created by jakeleventhal on 1/20/2024 in #help
Anyone have any idea about this bug?
great :D
14 replies
DTDrizzle Team
•Created by jakeleventhal on 1/20/2024 in #help
Anyone have any idea about this bug?
although in your prisma schema the relations are for the Branding table?
14 replies
DTDrizzle Team
•Created by jakeleventhal on 1/20/2024 in #help
Anyone have any idea about this bug?
perhaps?
14 replies
DTDrizzle Team
•Created by jakeleventhal on 1/20/2024 in #help
Anyone have any idea about this bug?
would you mind providing the tables/relations with the actual names you're using? feel free to strip down irrelevant columns
14 replies
DTDrizzle Team
•Created by jakeleventhal on 1/20/2024 in #help
Anyone have any idea about this bug?
@jakeleventhal what are you trying to do?
1)
table1Relations
is missing a column in fields and references
2) table2Relations
does not have a table1ItemOne
so typescript is correct in saying it doesn't exist14 replies
DTDrizzle Team
•Created by Grid on 1/17/2024 in #help
Unique constraint on multiple fields/columns
.nullsNotDistinct()
is available, so i presume nulls are distinct by default?40 replies
DTDrizzle Team
•Created by Grid on 1/17/2024 in #help
Unique constraint on multiple fields/columns
something like that would be possible. I believe drizzle supports all sql if you use the helpers... or you can modify the migration file
40 replies