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.
2 parents 45e5804 + b76fc6d commit 6ada0c0Copy full SHA for 6ada0c0
src/app/cosmos.rs
@@ -26,10 +26,10 @@ where
26
};
27
callback("Client created".to_string());
28
29
- let database = client.database(&database_name);
+ let database = client.database_client(&database_name);
30
callback(format!("Get database:\t {}", database_name));
31
32
- let container = database.container(&container_name);
+ let container = database.container_client(&container_name);
33
callback(format!("Get container:\t {}", container_name));
34
35
{
@@ -163,4 +163,4 @@ where
163
}
164
165
callback("Current Status:\tStopping...".to_string());
166
-}
+}
0 commit comments