Skip to content

Commit

Permalink
Merge pull request taosdata#15788 from taosdata/docs/xiaolei/fix-csha…
Browse files Browse the repository at this point in the history
…rp-reference-mistake

docs(driver):fix C# reference mistake and nodejs example mistake in n…
  • Loading branch information
gccgdb1234 authored Sep 1, 2022
2 parents 4420e03 + dcfb3f0 commit fd0ed77
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
11 changes: 6 additions & 5 deletions docs/zh/14-reference/03-connector/csharp.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,15 @@ dotnet add package TDengine.Connector
</TabItem>
<TabItem value="source" label="使用源码获取 C# 驱动">

可以下载 TDengine 的源码,直接引用最新版本的 TDengine.Connector 库
可以[下载源码](https://github.com/taosdata/taos-connector-dotnet),直接引用 TDengine.Connector 库

```bash
git clone https://github.com/taosdata/TDengine.git
cd TDengine/src/connector/C#/src/
cp -r TDengineDriver/ myProject
git clone -b develop https://github.com/taosdata/taos-connector-dotnet
cd taos-connector-dotnet
cp -r src/ myProject

cd myProject
dotnet add TDengineDriver/TDengineDriver.csproj
dotnet add myProject.csproj reference TDengineDriver/TDengineDriver.csproj
```
</TabItem>
</Tabs>
Expand Down Expand Up @@ -159,6 +159,7 @@ namespace TDengineExample

| TDengine.Connector | 说明 |
|--------------------|--------------------------------|
| 1.0.7 | 修复TDengine.Query()内存泄露的bug。 |
| 1.0.6 | 修复 schemaless 在 1.0.4 和 1.0.5 中失效 bug。 |
| 1.0.5 | 修复 Windows 同步查询中文报错 bug。 |
| 1.0.4 | 新增异步查询,订阅等功能。修复绑定参数 bug。 |
Expand Down
4 changes: 1 addition & 3 deletions examples/nodejs/nodejsChecker.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
//const taos = require('td2.0-connector');
const taos = require('../../../src/connector/nodejs/');

const taos = require('td2.0-connector');

var host = null;
var port = 6030;
Expand Down

0 comments on commit fd0ed77

Please sign in to comment.