Skip to content

Commit 05d4974

Browse files
authored
Change reference to dotenvy (#4233)
Replace reference to maintained version of dotenv
1 parent 9dcf2e3 commit 05d4974

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,13 +403,13 @@ Differences from `query()`:
403403
queries against; the database does not have to contain any data but must be the same
404404
kind (MySQL, Postgres, etc.) and have the same schema as the database you will be connecting to at runtime.
405405

406-
For convenience, you can use [a `.env` file][dotenv]<sup>1</sup> to set DATABASE_URL so that you don't have to pass it every time:
406+
For convenience, you can use [a `.env` file][dotenvy]<sup>1</sup> to set DATABASE_URL so that you don't have to pass it every time:
407407

408408
```
409409
DATABASE_URL=mysql://localhost/my_database
410410
```
411411

412-
[dotenv]: https://github.com/dotenv-rs/dotenv#examples
412+
[dotenvy]: https://github.com/allan2/dotenvy?tab=readme-ov-file#what-is-an-environment-file
413413

414414
The biggest downside to `query!()` is that the output type cannot be named (due to Rust not
415415
officially supporting anonymous records). To address that, there is a `query_as!()` macro that is

0 commit comments

Comments
 (0)