Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/mdx/get-started/postgresql/ConnectSupabase.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import Callout from '@mdx/Callout.astro';
Create a `index.ts` file in the `src` directory and initialize the connection:

```typescript copy filename="index.ts"
import { drizzle } from 'drizzle-orm'
import { drizzle } from 'drizzle-orm/postgres-js'

async function main() {
const db = drizzle('postgres-js', process.env.DATABASE_URL);
const db = drizzle(process.env.DATABASE_URL!);
}

main();
Expand Down
4 changes: 2 additions & 2 deletions src/mdx/get-started/postgresql/ConnectXata.mdx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Create a `index.ts` file in the `src` directory and initialize the connection:

```typescript copy filename="index.ts"
import { drizzle } from 'drizzle-orm'
import { drizzle } from 'drizzle-orm/postgres-js'

async function main() {
const db = drizzle('postgres-js', process.env.DATABASE_URL);
const db = drizzle(process.env.DATABASE_URL!);
}

main();
Expand Down