mirror of
https://github.com/actix/actix-website
synced 2025-06-27 07:29:02 +02:00
Add extension recommendations, fix linting warnings, improve accessibility (#378)
* chore: add VS Code extension recommendations * Update image URLs in README and documentation files * chore: disable no-inline-html rule * chore: use standard md/mdx syntax, and use .jsx for react components * chore: fix email links in Code of Conduct The commit message suggests fixing the email links in the Code of Conduct file to use the correct `mailto:` syntax. * chore: update actix-web error helper links Update the links to the `actix-web` error helper traits in the `databases.md` and `errors.md` files to use the correct URLs. * chore: restore unused actix-web error helper links * Update src/pages/community/coc.md Co-authored-by: Rob Ede <robjtede@icloud.com> * Update docs/getting-started.md Co-authored-by: Rob Ede <robjtede@icloud.com> --------- Co-authored-by: Rob Ede <robjtede@icloud.com>
This commit is contained in:
@ -2,15 +2,15 @@
|
||||
title: Databases
|
||||
---
|
||||
|
||||
import CodeBlock from "@site/src/components/code_block.js";
|
||||
import CodeBlock from "@site/src/components/code_block";
|
||||
|
||||
# Async Options
|
||||
|
||||
We have several example projects showing use of async database adapters:
|
||||
|
||||
- Postgres: https://github.com/actix/examples/tree/master/databases/postgres
|
||||
- SQLite: https://github.com/actix/examples/tree/master/databases/sqlite
|
||||
- MongoDB: https://github.com/actix/examples/tree/master/databases/mongodb
|
||||
- [Postgres](https://github.com/actix/examples/tree/master/databases/postgres)
|
||||
- [SQLite](https://github.com/actix/examples/tree/master/databases/sqlite)
|
||||
- [MongoDB](https://github.com/actix/examples/tree/master/databases/mongodb)
|
||||
|
||||
# Diesel
|
||||
|
||||
@ -30,7 +30,7 @@ This example also maps the error to an `HttpResponse` before using the `?` opera
|
||||
|
||||
<CodeBlock example="databases" file="main.rs" section="index" />
|
||||
|
||||
That's it! See the full example here: https://github.com/actix/examples/tree/master/databases/diesel
|
||||
That's it! See the full example [here](https://github.com/actix/examples/tree/master/databases/diesel).
|
||||
|
||||
[web-block]: https://docs.rs/actix-web/4/actix_web/web/fn.block.html
|
||||
[response-error]: https://docs.rs/actix-web/4/actix_web/trait.ResponseError.html
|
||||
[response-error]: https://docs.rs/actix-web/4/actix_web/error/trait.ResponseError.html
|
||||
|
Reference in New Issue
Block a user