DT
Drizzle TeamDawson
multiple dbs, multiple drizzle client, not registering as multiple dbs
Hey all, anyone know why apiDb shows up as not working? Originally when I had
keys
schema imported under apiDb
, it worked perfectly fine. db and its table works fine. Generated using t3
index.ts: https://paste.learnspigot.com/dicuhehiri.typescript
api-schema.ts: https://paste.learnspigot.com/guqayuviwe.php
schema.ts: https://paste.learnspigot.com/enufuvujuq.phpLearnSpigot: Send and save code snippets on our pastebin
LearnSpigot provides a free web-based pastebin service for storing and sharing code snippets with anyone. Powered by hastebin.
LearnSpigot: Send and save code snippets on our pastebin
LearnSpigot provides a free web-based pastebin service for storing and sharing code snippets with anyone. Powered by hastebin.
LearnSpigot: Send and save code snippets on our pastebin
LearnSpigot provides a free web-based pastebin service for storing and sharing code snippets with anyone. Powered by hastebin.
Dawson•17d ago
Can confirm that
console.log(await db.query.keys.findMany())
works just fine.The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
7.4KMembers
View on DiscordWant results from more Discord servers?
More PostsSetting triggers with drizzleHey, good day guys. I'm a web developer who recently picked up mysql and drizzle. Going through the Multiple Where ClausesI need to filter my data based on various filters but only if they are not null. How can I do this, Enum as primary key for roles (sqlite)I'm pretty new to Drizzle and database schemas in general so bear with me if this is stupid.
I'm crHow can I get a better structured response when querying a table (many to many)?Hi, I am new to sql. This might be obvious, but I'm not sure how to go about this. Below is a simpli