1
0
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:
Rob Ede 2022-09-11 19:00:34 +01:00
parent c28854427e
commit b230608545
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933

View File

@ -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.