diff --git a/020-Connect/020-JavaScript/030-drizzle.mdx b/020-Connect/020-JavaScript/030-drizzle.mdx index f9cea375..c8fe4ba0 100644 --- a/020-Connect/020-JavaScript/030-drizzle.mdx +++ b/020-Connect/020-JavaScript/030-drizzle.mdx @@ -77,6 +77,7 @@ import { Client } from 'pg'; const xata = getXataClient(); const client = new Client({ connectionString: xata.sql.connectionString }); +await client.connect(); const db = drizzle(client); ```