move sample code to docs/example
This commit is contained in:
parent
d93e15b552
commit
3b6b873e33
|
@ -66,25 +66,15 @@ In the above example code, `taos_connect()` establishes a connection to port 603
|
||||||
|
|
||||||
This section shows sample code for standard access methods to TDengine clusters using the client driver.
|
This section shows sample code for standard access methods to TDengine clusters using the client driver.
|
||||||
|
|
||||||
### Synchronous query example
|
- [Synchronous query example](https://github.com/taosdata/TDengine/tree/3.0/docs/examples/c/demo.c)
|
||||||
|
|
||||||
- [C example](https://github.com/taosdata/TDengine/tree/3.0/docs/examples/c/demo.c)
|
- [Asynchronous query example](https://github.com/taosdata/TDengine/tree/3.0/docs/examples/c/asyncdemo.c)
|
||||||
|
|
||||||
### Asynchronous query example
|
- [Parameter binding example](https://github.com/taosdata/TDengine/tree/3.0/docs/examples/c/prepare.c)
|
||||||
|
|
||||||
- [C example](https://github.com/taosdata/TDengine/tree/3.0/docs/examples/c/asyncdemo.c)
|
- [Schemaless writing example](https://github.com/taosdata/TDengine/tree/3.0/docs/examples/c/schemaless.c)
|
||||||
|
|
||||||
### Parameter binding example
|
- [Subscription and consumption example](https://github.com/taosdata/TDengine/tree/3.0/docs/examples/c/tmq.c)
|
||||||
|
|
||||||
- [C example](https://github.com/taosdata/TDengine/tree/3.0/docs/examples/c/prepare.c)
|
|
||||||
|
|
||||||
### Pattern-free writing example
|
|
||||||
|
|
||||||
- [C example](https://github.com/taosdata/TDengine/tree/3.0/docs/examples/c/schemaless.c)
|
|
||||||
|
|
||||||
### Subscription and consumption example
|
|
||||||
|
|
||||||
- [C example](https://github.com/taosdata/TDengine/tree/3.0/docs/examples/c/tmq.c)
|
|
||||||
|
|
||||||
:::info
|
:::info
|
||||||
More example code and downloads are available at [GitHub](https://github.com/taosdata/TDengine/tree/develop/docs/examples/c).
|
More example code and downloads are available at [GitHub](https://github.com/taosdata/TDengine/tree/develop/docs/examples/c).
|
||||||
|
|
|
@ -662,7 +662,7 @@ Example usage is as follows.
|
||||||
|
|
||||||
### More sample programs
|
### More sample programs
|
||||||
|
|
||||||
The source code of the sample application is under `TDengine/examples/JDBC`:
|
The source code of the sample application is under `TDengine/docs/examples/JDBC`:
|
||||||
|
|
||||||
- JDBCDemo: JDBC sample source code.
|
- JDBCDemo: JDBC sample source code.
|
||||||
- connectionPools: using taos-jdbcdriver in connection pools such as HikariCP, Druid, dbcp, c3p0, etc.
|
- connectionPools: using taos-jdbcdriver in connection pools such as HikariCP, Druid, dbcp, c3p0, etc.
|
||||||
|
@ -671,7 +671,7 @@ The source code of the sample application is under `TDengine/examples/JDBC`:
|
||||||
- springbootdemo: using taos-jdbcdriver in Springboot.
|
- springbootdemo: using taos-jdbcdriver in Springboot.
|
||||||
- consumer-demo: consumer TDengine data example, the consumption rate can be controlled by parameters.
|
- consumer-demo: consumer TDengine data example, the consumption rate can be controlled by parameters.
|
||||||
|
|
||||||
[JDBC example](https://github.com/taosdata/TDengine/tree/3.0/examples/JDBC)
|
[JDBC example](https://github.com/taosdata/TDengine/tree/3.0/docs/examples/JDBC)
|
||||||
|
|
||||||
## Frequently Asked Questions
|
## Frequently Asked Questions
|
||||||
|
|
||||||
|
|
|
@ -437,9 +437,9 @@ let taos = pool.get()?;
|
||||||
|
|
||||||
### More sample programs
|
### More sample programs
|
||||||
|
|
||||||
The source code of the sample application is under `TDengine/examples/rust` :
|
The source code of the sample application is under `TDengine/docs/examples/rust` :
|
||||||
|
|
||||||
[rust example](https://github.com/taosdata/TDengine/tree/3.0/examples/rust)
|
[rust example](https://github.com/taosdata/TDengine/tree/3.0/docs/examples/rust)
|
||||||
|
|
||||||
## Frequently Asked Questions
|
## Frequently Asked Questions
|
||||||
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue