Skip to content

Commit 5e0687d

Browse files
authored
Merge pull request #490 from andrelandgraf/andrelandgraf/fix-type-error-remove-unused-neon
Fix type error and remove unused import in Neon docs
2 parents 6961934 + 33925e2 commit 5e0687d

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/content/docs/tutorials/drizzle-on-the-edge/drizzle-with-vercel-edge-functions.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ npx drizzle-kit push
147147
Create a `index.ts` file in the `src/db` directory and set up your database configuration:
148148

149149
```typescript copy filename="src/db/index.ts"
150-
import { Pool } from '@neondatabase/serverless';
151150
import { drizzle } from 'drizzle-orm/neon-serverless';
152151

153152

src/mdx/get-started/postgresql/ConnectNeon.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ where you specify a driver connection and pass it to the Drizzle instance.
1515

1616
```typescript
1717
import { neon } from '@neondatabase/serverless';
18-
import { drizzle } from 'drizzle-orm/neon-serverless';
18+
import { drizzle } from 'drizzle-orm/neon-http';
1919

2020
const sql = neon(process.env.DATABASE_URL!);
2121
const db = drizzle({ client: sql });

0 commit comments

Comments
 (0)