diff --git a/src/content/docs/connect-node-sqlite.mdx b/src/content/docs/connect-node-sqlite.mdx index 3f83ccc0..e7b155c7 100644 --- a/src/content/docs/connect-node-sqlite.mdx +++ b/src/content/docs/connect-node-sqlite.mdx @@ -51,7 +51,7 @@ If you want to use **sync** APIs: import { drizzle } from 'drizzle-orm/node-sqlite'; import { DatabaseSync } from 'node:sqlite'; -const sqlite = new Database('sqlite.db'); +const sqlite = new DatabaseSync('sqlite.db'); const db = drizzle({ client: sqlite }); const result = db.select().from(users).all(); @@ -62,4 +62,4 @@ const result = db.select().from(users).run(); #### What's next? - \ No newline at end of file +