kareem7484
DTDrizzle Team
•Created by T O on 11/7/2023 in #help
Error: this.client.prepare is not a function
I had the same issue and it was because I did not use the right import for drizzle. Make sure that the import "import {drizzle} from 'drizzle-orm/d1'"are for the right db. In this case, Cloudflare D1
is for sql-lite and not postgres.
2 replies