Jack
Jack
Explore posts from servers
DTDrizzle Team
Created by Jack on 2/8/2025 in #help
Complex seeding tasks
I have the utilities to generate as many weeks, I guess all I need is a way to say "this array of weeks is ISO 8601, so the foreign key relates to the ISO 8601 row. And this array of weeks is US Sunday, so these relate to the US Sunday row"
3 replies
DTDrizzle Team
Created by ls on 11/28/2024 in #help
How to use drizzle-seed to seed data?
No description
4 replies
DTDrizzle Team
Created by ls on 11/28/2024 in #help
How to use drizzle-seed to seed data?
I have tried node-postgres and postgres drivers and it still gives the same error 😬 Tested with drizzle-orm 0.36.4
4 replies
DTDrizzle Team
Created by ls on 11/28/2024 in #help
How to use drizzle-seed to seed data?
I also get this length error too. I will see if I can find anything else and update here
4 replies
DTDrizzle Team
Created by michaelp7725 on 11/27/2024 in #help
question/problem about new drizzle-seed
I think as well it expects fully lowercase table names too which tripped me up otherwise it gives me this error: @scope/package: PostgresError: relation "public.tablename" does not exist To be honest though I should have probably used table_name instead of tableName
3 replies
DTDrizzle Team
Created by Jack on 6/1/2024 in #help
db.insert(Table).values() gives TypeScript error "Object literal may only specify known properties"
I fixed it... One second after asking. I accidentally had fileId in the insert, which trips it up. The error says authorId in addition to some other fields which confused me!
2 replies
TtRPC
Created by Jack on 3/9/2024 in #❓-help
Type error when creating a server-side context 🤔
No description
17 replies
TtRPC
Created by Jack on 3/9/2024 in #❓-help
Type error when creating a server-side context 🤔
I'll try this out, many thanks
17 replies
TtRPC
Created by Jack on 3/9/2024 in #❓-help
Type error when creating a server-side context 🤔
This might be me not looking further than my nose! 🤣
17 replies
TtRPC
Created by Jack on 3/9/2024 in #❓-help
Type error when creating a server-side context 🤔
Ah!!
17 replies
TtRPC
Created by Jack on 3/9/2024 in #❓-help
Type error when creating a server-side context 🤔
I'll see if I can spin up a stackblitz repro
17 replies
TtRPC
Created by Jack on 3/9/2024 in #❓-help
Type error when creating a server-side context 🤔
Thanks for the help Alex!!
17 replies
TtRPC
Created by Jack on 3/9/2024 in #❓-help
Type error when creating a server-side context 🤔
If you don't mind my jumping ahead, is fastify not 100% supported?
17 replies
TtRPC
Created by Jack on 3/9/2024 in #❓-help
Type error when creating a server-side context 🤔
I did try fastifyRequestHandler to no avail :(
17 replies
TtRPC
Created by Jack on 3/9/2024 in #❓-help
Type error when creating a server-side context 🤔
No description
17 replies
TtRPC
Created by Jack on 3/9/2024 in #❓-help
Type error when creating a server-side context 🤔
I couldn't seem to find any fastify equivalent http function from the fastify adapter library
17 replies
TtRPC
Created by Jack on 3/9/2024 in #❓-help
Type error when creating a server-side context 🤔
Oh, thanks! Will that not cause any issues though? As I'm using fastify trpc adapter for my project?
17 replies
TtRPC
Created by Jack on 3/9/2024 in #❓-help
Type error when creating a server-side context 🤔
No description
17 replies