File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
414414The biggest downside to `query! ()` is that the output type cannot be named (due to Rust not
415415officially supporting anonymous records). To address that, there is a `query_as! ()` macro that is
You can’t perform that action at this time.
0 commit comments