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 78a0e2b commit 8eeb1d7Copy full SHA for 8eeb1d7
influxdb/src/client/mod.rs
@@ -93,7 +93,7 @@ impl Client {
93
} else {
94
parameters.insert("db", database.into());
95
}
96
-
+
97
Client {
98
url: Arc::new(url.into()),
99
parameters: Arc::new(parameters),
@@ -150,6 +150,10 @@ impl Client {
150
self
151
152
153
+ /// Add organization to [`Client`](crate::Client)
154
+ ///
155
+ /// This is designed for influxdb 2.0's backward-compatible API which
156
+ /// requires organization by default.
157
pub fn with_org<S>(mut self, org: S) -> Self
158
where
159
S: Into<String>,
0 commit comments