We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 680eb46 commit c212086Copy full SHA for c212086
src/dialect/postgres/postgres-dialect.ts
@@ -16,10 +16,10 @@ import { PostgresDialectConfig } from './postgres-dialect-config.js'
16
* The constructor takes an instance of {@link PostgresDialectConfig}.
17
*
18
* ```ts
19
- * import { Pool } from 'pg'
+ * import pg from 'pg'
20
21
* new PostgresDialect({
22
- * pool: new Pool({
+ * pool: new pg.Pool({
23
* database: 'some_db',
24
* host: 'localhost',
25
* })
@@ -30,10 +30,10 @@ import { PostgresDialectConfig } from './postgres-dialect-config.js'
30
* can be a function:
31
32
33
34
35
36
- * pool: async () => new Pool({
+ * pool: async () => new pg.Pool({
37
38
39
0 commit comments