Samsterism
Samsterism
DTDrizzle Team
Created by Samsterism on 5/20/2024 in #help
Module '"drizzle-orm"' has no exported member 'count'.
I'm trying to import as follows: import { count } from 'drizzle-orm' Running: drizzle-kit 0.19.13
drizzle-orm 0.28.6 I'm not sure why only 'count' seems to fail - thanks for any help!
2 replies
DTDrizzle Team
Created by Samsterism on 10/25/2023 in #help
Specifying single schema to push
Hello: I'm hoping to push a single schema to the database after dropping the table. This way I can start over on this table but the rest of the tables are untouched. I'm trying the following in the terminal: npx drizzle-kit push:pg --schema=./server/api/schemas/mytableschema.ts Drizzle returns this error: Invalid input Only "pg" is available options for "--driver" The docs suggest this is possible but I'm not sure https://orm.drizzle.team/kit-docs/commands#prototype--push Thanks!
1 replies