From b23060854572f4cbafe7be47ed6773bc6c3a7255 Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Sun, 11 Sep 2022 19:00:34 +0100 Subject: [PATCH] update diesel docs to reference v2 as well --- docs/databases.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/databases.md b/docs/databases.md index b20b2e0..53b84d0 100644 --- a/docs/databases.md +++ b/docs/databases.md @@ -14,7 +14,7 @@ We have several example projects showing use of async database adapters: # 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.