diff --git a/docs/en/15-programming/01-connect/01-python.md b/docs/en/15-programming/01-connect/01-python.md index d3cc5c6ad387f01360f89df2ce3fbcf03f440d12..7501ba6ab18def8d5634658ae6451a866e2c6ae4 100644 --- a/docs/en/15-programming/01-connect/01-python.md +++ b/docs/en/15-programming/01-connect/01-python.md @@ -81,4 +81,4 @@ Copy code bellow to your editor and run it. {{#include docs/examples/python/develop_tutorial.py:connect}} ``` -For more sample code please refer to and . \ No newline at end of file +For how to write data and query data, please refer to and . \ No newline at end of file diff --git a/docs/en/15-programming/01-connect/03-go.md b/docs/en/15-programming/01-connect/03-go.md index 0500ed05b811280f0ab3cf37342a6e75d9229942..83e06993a0c09abca268904ffd0e38e8c65980a0 100644 --- a/docs/en/15-programming/01-connect/03-go.md +++ b/docs/en/15-programming/01-connect/03-go.md @@ -54,7 +54,7 @@ $env:TDENGINE_GO_DSN="" :::note Replace with the real value, the format should be `https()/?token=`. -To obtain the value of `goDSN`, please log in [TDengine Cloud](https://cloud.tdengine.com) and click "Connector" and then select "Go". +To obtain the value of `goDSN`, please log in [TDengine Cloud](https://cloud.tdengine.com) and click "Data In" on the lef menu. ::: @@ -78,3 +78,5 @@ Finally, test the connection: ``` go run main.go ``` + +The client connection is then established. For how to write data and query data, please refer to and . \ No newline at end of file diff --git a/docs/en/15-programming/01-connect/04-rust.md b/docs/en/15-programming/01-connect/04-rust.md index 8f05161663b684f2b4d59f50b03647579c6b3a0c..05e7a5afea075beea043558bef15dbd9a4cd65bd 100644 --- a/docs/en/15-programming/01-connect/04-rust.md +++ b/docs/en/15-programming/01-connect/04-rust.md @@ -63,5 +63,5 @@ Copy following code to `main.rs`. {{#include docs/examples/rust/cloud-example/src/main.rs}} ``` -Then you can execute `cargo run` to test the connection. +Then you can execute `cargo run` to test the connection. For how to write data and query data, please refer to and . diff --git a/docs/en/15-programming/01-connect/05-node.md b/docs/en/15-programming/01-connect/05-node.md index 08106c8f974f031ad82d191547e4746a035e4f58..9ae5a3791292b3a671dc9ffc483fa3082a82faaf 100644 --- a/docs/en/15-programming/01-connect/05-node.md +++ b/docs/en/15-programming/01-connect/05-node.md @@ -10,7 +10,7 @@ import TabItem from '@theme/TabItem'; ## Install Connector ```bash -npm i td2.0-rest-connector +npm install @tdengine/rest ``` ## Config @@ -56,4 +56,6 @@ To obtain the value of cloud token and URL, please log in [TDengine Cloud](https ```javascript {{#include docs/examples/node/connect.js}} -``` \ No newline at end of file +``` + +For how to write data and query data, please refer to and . \ No newline at end of file diff --git a/docs/en/15-programming/01-connect/06-csharp.md b/docs/en/15-programming/01-connect/06-csharp.md index 2ddd1ea12db9d6472916783684f8b3da8150666c..7255bdaf8a3de06c0bb223f688e6c545d7b0a108 100644 --- a/docs/en/15-programming/01-connect/06-csharp.md +++ b/docs/en/15-programming/01-connect/06-csharp.md @@ -58,22 +58,9 @@ Replace with real TDengine cloud DSN. To obtain the real value, please l ## Connect -``` XML - - - - Exe - net5.0 - enable - - - - - - - -``` ```C# -//{{#include docs/examples/csharp/cloud-example/Connect.cs}} +{{#include docs/examples/csharp/cloud-example/connect/Program.cs}} ``` + +The client connection is then established. For how to write data and query data, please refer to and . \ No newline at end of file