Skip to content

Commit 1b5219c

Browse files
authored
docs: fix incorrect usage of PgClient.layer in sql README (#3954)
1 parent 6da6284 commit 1b5219c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/sql/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Alternatively, you can also create the `SqlLive` layer using the `PgClient.layer
3333
import { Config } from "effect"
3434
import { PgClient } from "@effect/sql-pg"
3535

36-
const SqlLive = PgClient.layer({
36+
const SqlLive = PgClient.layerConfig({
3737
database: Config.string("DATABASE")
3838
})
3939
```

0 commit comments

Comments
 (0)