camiaei
camiaei
Explore posts from servers
DTDrizzle Team
Created by camiaei on 6/18/2024 in #help
SQLITE_BUSY: database is locked
I'm seeing this error after increasing the amount of concurrent write operations I was performing. Has anyone else had to deal with this? (better-sqlite3 on node.js)
3 replies
DTDrizzle Team
Created by camiaei on 5/23/2024 in #help
(drizzle-kit) npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memo
npm add -D drizzle-kit npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
1 replies
DTDrizzle Team
Created by camiaei on 3/27/2024 in #help
Why select() always expects to have matches?
hi. i encountered this issue:
const [record] = await db
.select()
.from(day)
.where(eq(id, 123456));
const [record] = await db
.select()
.from(day)
.where(eq(id, 123456));
record is inferred to have a non-nullable type, even though the queried record with the ID 123456 may not exist in the database. Can anyone tell me if I am doing something wrong? I was migrating some queries to select() but this behavior makes it pretty unusable 😕 Thanks
6 replies
CDCloudflare Developers
Created by camiaei on 3/20/2024 in #pages-help
remix presets are outdated
No description
1 replies