We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e38be0d commit e444639Copy full SHA for e444639
rust/benches/bench.rs
@@ -7,7 +7,7 @@ use doublets::{
7
};
8
use tokio_postgres::{Error, NoTls};
9
10
-use linkspsql::Client;
+use linkspsql::{Client, Cruds};
11
12
async fn connect() -> Result<Client, Error> {
13
let (client, connection) = tokio_postgres::connect("", NoTls).await.unwrap();
@@ -53,7 +53,7 @@ fn create_thousand_links_with_transaction(c: &mut Criterion) {
53
});
54
55
runtime.block_on(async {
56
- let transaction = client.transaction().await.unwrap();
+ let mut transaction = client.transaction().await.unwrap();
57
for i in 1..=1_000 {
58
transaction.delete(&[i; 2]).await.unwrap();
59
}
0 commit comments