mirror of
https://github.com/actix/actix-website
synced 2024-11-27 18:12:57 +01:00
update diesel docs to reference v2 as well
This commit is contained in:
parent
c28854427e
commit
b230608545
@ -14,7 +14,7 @@ We have several example projects showing use of async database adapters:
|
|||||||
|
|
||||||
# Diesel
|
# Diesel
|
||||||
|
|
||||||
The current version of Diesel (v1) does not support asynchronous operations, so it is important to use the [`web::block`][web-block] function to offload your database operations to the Actix runtime thread-pool.
|
The current versions of Diesel (v1/v2) does not support asynchronous operations, so it is important to use the [`web::block`][web-block] function to offload your database operations to the Actix runtime thread-pool.
|
||||||
|
|
||||||
You can create action functions that correspond to all the operations your app will perform on the database.
|
You can create action functions that correspond to all the operations your app will perform on the database.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user