提交 49470d6b 编写于 作者: C Cloud User

fix: moving tests out results in 404 error

上级 915e6271
...@@ -792,8 +792,8 @@ Query OK, 1 row(s) in set (0.000141s) ...@@ -792,8 +792,8 @@ Query OK, 1 row(s) in set (0.000141s)
## 在框架中使用 ## 在框架中使用
* Spring JdbcTemplate 中使用 taos-jdbcdriver,可参考 [SpringJdbcTemplate](https://github.com/taosdata/TDengine/tree/develop/tests/examples/JDBC/SpringJdbcTemplate) * Spring JdbcTemplate 中使用 taos-jdbcdriver,可参考 [SpringJdbcTemplate](https://github.com/taosdata/tests/tree/develop/examples/JDBC/SpringJdbcTemplate)
* Springboot + Mybatis 中使用,可参考 [springbootdemo](https://github.com/taosdata/TDengine/tree/develop/tests/examples/JDBC/springbootdemo) * Springboot + Mybatis 中使用,可参考 [springbootdemo](https://github.com/taosdata/tests/tree/develop/examples/JDBC/springbootdemo)
## 示例程序 ## 示例程序
...@@ -803,7 +803,7 @@ Query OK, 1 row(s) in set (0.000141s) ...@@ -803,7 +803,7 @@ Query OK, 1 row(s) in set (0.000141s)
* Springbootdemo:springboot示例源程序 * Springbootdemo:springboot示例源程序
* SpringJdbcTemplate:SpringJDBC模板 * SpringJdbcTemplate:SpringJDBC模板
请参考:[JDBC example](https://github.com/taosdata/TDengine/tree/develop/tests/examples/JDBC) 请参考:[JDBC example](https://github.com/taosdata/tests/tree/develop/examples/JDBC)
## 常见问题 ## 常见问题
* 使用Statement的addBatch和executeBatch来执行“批量写入/更行”,为什么没有带来性能上的提升? * 使用Statement的addBatch和executeBatch来执行“批量写入/更行”,为什么没有带来性能上的提升?
......
...@@ -164,7 +164,7 @@ C/C++的API类似于MySQL的C API。应用程序使用时,需要包含TDengine ...@@ -164,7 +164,7 @@ C/C++的API类似于MySQL的C API。应用程序使用时,需要包含TDengine
### 示例程序 ### 示例程序
使用C/C++连接器的示例代码请参见 https://github.com/taosdata/TDengine/tree/develop/tests/examples/c 。 使用C/C++连接器的示例代码请参见 https://github.com/taosdata/tests/tree/develop/examples/c 。
示例程序源码也可以在安装目录下的 examples/c 路径下找到: 示例程序源码也可以在安装目录下的 examples/c 路径下找到:
...@@ -1080,7 +1080,7 @@ HTTP 请求 URL 采用 `sqlutc` 时,返回结果集的时间戳将采用 UTC ...@@ -1080,7 +1080,7 @@ HTTP 请求 URL 采用 `sqlutc` 时,返回结果集的时间戳将采用 UTC
示例程序源码位于 示例程序源码位于
* {client_install_directory}/examples/C# * {client_install_directory}/examples/C#
* [github C# example source code](https://github.com/taosdata/TDengine/tree/develop/tests/examples/C%2523) * [github C# example source code](https://github.com/taosdata/tests/tree/develop/examples/C%2523)
**注意:** TDengineTest.cs C#示例源程序,包含了数据库连接参数,以及如何执行数据插入、查询等操作。 **注意:** TDengineTest.cs C#示例源程序,包含了数据库连接参数,以及如何执行数据插入、查询等操作。
...@@ -1112,7 +1112,7 @@ dotnet add package TDengine.Connector ...@@ -1112,7 +1112,7 @@ dotnet add package TDengine.Connector
```c# ```c#
using TDengineDriver; using TDengineDriver;
``` ```
* 用户可以参考[TDengineTest.cs](https://github.com/taosdata/TDengine/tree/develop/tests/examples/C%2523/TDengineTest)来定义数据库连接参数,以及如何执行数据插入、查询等操作。 * 用户可以参考[TDengineTest.cs](https://github.com/taosdata/tests/tree/develop/examples/C%2523/TDengineTest)来定义数据库连接参数,以及如何执行数据插入、查询等操作。
**注意:** **注意:**
...@@ -1150,7 +1150,7 @@ Go连接器支持的系统有: ...@@ -1150,7 +1150,7 @@ Go连接器支持的系统有:
### 示例程序 ### 示例程序
使用 Go 连接器的示例代码请参考 https://github.com/taosdata/TDengine/tree/develop/tests/examples/go 以及[视频教程](https://www.taosdata.com/blog/2020/11/11/1951.html) 使用 Go 连接器的示例代码请参考 https://github.com/taosdata/tests/tree/develop/examples/go 以及[视频教程](https://www.taosdata.com/blog/2020/11/11/1951.html)
示例程序源码也位于安装目录下的 examples/go/taosdemo.go 文件中。 示例程序源码也位于安装目录下的 examples/go/taosdemo.go 文件中。
...@@ -1285,7 +1285,7 @@ Node-example-raw.js ...@@ -1285,7 +1285,7 @@ Node-example-raw.js
验证方法: 验证方法:
1. 新建安装验证目录,例如:`~/tdengine-test`,拷贝github上nodejsChecker.js源程序。下载地址:(https://github.com/taosdata/TDengine/tree/develop/tests/examples/nodejs/nodejsChecker.js)。 1. 新建安装验证目录,例如:`~/tdengine-test`,拷贝github上nodejsChecker.js源程序。下载地址:(https://github.com/taosdata/tests/tree/develop/examples/nodejs/nodejsChecker.js)。
2. 在命令行中执行以下命令: 2. 在命令行中执行以下命令:
......
...@@ -753,12 +753,12 @@ Query OK, 1 row(s) in set (0.000141s) ...@@ -753,12 +753,12 @@ Query OK, 1 row(s) in set (0.000141s)
## Integrated with framework ## Integrated with framework
- Please refer to [SpringJdbcTemplate](https://github.com/taosdata/TDengine/tree/develop/tests/examples/JDBC/SpringJdbcTemplate) if using taos-jdbcdriver in Spring JdbcTemplate. - Please refer to [SpringJdbcTemplate](https://github.com/taosdata/tests/tree/develop/examples/JDBC/SpringJdbcTemplate) if using taos-jdbcdriver in Spring JdbcTemplate.
- Please refer to [springbootdemo](https://github.com/taosdata/TDengine/tree/develop/tests/examples/JDBC/springbootdemo) if using taos-jdbcdriver in Spring JdbcTemplate. - Please refer to [springbootdemo](https://github.com/taosdata/tests/tree/develop/examples/JDBC/springbootdemo) if using taos-jdbcdriver in Spring JdbcTemplate.
## Example Codes ## Example Codes
you see sample code here: [JDBC example](https://github.com/taosdata/TDengine/tree/develop/tests/examples/JDBC) you see sample code here: [JDBC example](https://github.com/taosdata/tests/tree/develop/examples/JDBC)
## FAQ ## FAQ
- Why does not addBatch and executeBatch provide a performance benefit for executing "batch writes/updates"? - Why does not addBatch and executeBatch provide a performance benefit for executing "batch writes/updates"?
......
...@@ -167,7 +167,7 @@ Note: ...@@ -167,7 +167,7 @@ Note:
- The TDengine dynamic library needs to be linked at compiling. The library in Linux is *libtaos.so*, which installed at/usr/local/taos/driver. By Windows, it is taos.dll and installed at C:\ TDengine. - The TDengine dynamic library needs to be linked at compiling. The library in Linux is *libtaos.so*, which installed at/usr/local/taos/driver. By Windows, it is taos.dll and installed at C:\ TDengine.
- Unless otherwise specified, when the return value of API is an integer, 0 represents success, others are error codes representing the cause of failure, and when the return value is a pointer, NULL represents failure. - Unless otherwise specified, when the return value of API is an integer, 0 represents success, others are error codes representing the cause of failure, and when the return value is a pointer, NULL represents failure.
More sample codes for using C/C++ connectors, please visit https://github.com/taosdata/TDengine/tree/develop/tests/examples/c. More sample codes for using C/C++ connectors, please visit https://github.com/taosdata/tests/tree/develop/examples/c.
### Basic API ### Basic API
...@@ -891,7 +891,7 @@ Only some configuration parameters related to RESTful interface are listed below ...@@ -891,7 +891,7 @@ Only some configuration parameters related to RESTful interface are listed below
### Example Source Code ### Example Source Code
you can find sample code under follow directions: you can find sample code under follow directions:
* {client_install_directory}/examples/C# * {client_install_directory}/examples/C#
* [github C# example source code](https://github.com/taosdata/TDengine/tree/develop/tests/examples/C%2523) * [github C# example source code](https://github.com/taosdata/tests/tree/develop/examples/C%2523)
**Tips:** TDengineTest.cs One of C# connector's sample code that include basic examples like connection,sql executions and so on. **Tips:** TDengineTest.cs One of C# connector's sample code that include basic examples like connection,sql executions and so on.
...@@ -924,7 +924,7 @@ dotnet add package TDengine.Connector ...@@ -924,7 +924,7 @@ dotnet add package TDengine.Connector
```C# ```C#
using TDengineDriver; using TDengineDriver;
``` ```
* user can reference from[TDengineTest.cs](https://github.com/taosdata/TDengine/tree/develop/tests/examples/C%2523/TDengineTest) and learn how to define database connection,query,insert and other basic data manipulations. * user can reference from[TDengineTest.cs](https://github.com/taosdata/tests/tree/develop/examples/C%2523/TDengineTest) and learn how to define database connection,query,insert and other basic data manipulations.
**Note:** **Note:**
...@@ -951,7 +951,7 @@ https://www.taosdata.com/blog/2020/11/02/1901.html ...@@ -951,7 +951,7 @@ https://www.taosdata.com/blog/2020/11/02/1901.html
The TDengine provides the GO driver taosSql. taosSql implements the GO language's built-in interface database/sql/driver. Users can access TDengine in the application by simply importing the package as follows, see https://github.com/taosdata/driver-go/blob/develop/taosSql/driver_test.go for details. The TDengine provides the GO driver taosSql. taosSql implements the GO language's built-in interface database/sql/driver. Users can access TDengine in the application by simply importing the package as follows, see https://github.com/taosdata/driver-go/blob/develop/taosSql/driver_test.go for details.
Sample code for using the Go connector can be found in https://github.com/taosdata/TDengine/tree/develop/tests/examples/go . Sample code for using the Go connector can be found in https://github.com/taosdata/tests/tree/develop/examples/go .
```Go ```Go
import ( import (
...@@ -1067,7 +1067,7 @@ After installing the TDengine client, the nodejsChecker.js program can verify wh ...@@ -1067,7 +1067,7 @@ After installing the TDengine client, the nodejsChecker.js program can verify wh
Steps: Steps:
1. Create a new installation verification directory, for example: `~/tdengine-test`, copy the nodejsChecker.js source program on github. Download address: (https://github.com/taosdata/TDengine/tree/develop/tests/examples/nodejs/nodejsChecker.js). 1. Create a new installation verification directory, for example: `~/tdengine-test`, copy the nodejsChecker.js source program on github. Download address: (https://github.com/taosdata/tests/tree/develop/examples/nodejs/nodejsChecker.js).
2. Execute the following command: 2. Execute the following command:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册