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.
1 Reply
Can confirm that
console.log(await db.query.keys.findMany())
works just fine.