未验证 提交 acbf0ced 编写于 作者: sangshuduo's avatar sangshuduo 提交者: GitHub

docs: refine go connector doc (#11990)

* docs: refine connector doc

[TD-14839]

* docs: use TDengine CLI

[TD-14839]

* docs: replace JNI with navtive connection

[TD-14839]

* docs: make connectors doc use same preparition

[TD-14839]

* docs: refine connectors doc

[TD-14839]

* docs: refine connectors doc

[TD-14839]

* docs: refine connector docs

* docs: refine connector doc

[TD-14839]

* docs: refine connector doc

[TD-14839]

* docs: refine connector

[TD-14839]

* docs: fix faq path

* docs: refine cpp connector doc

* docs: refine cpp docs

* docs: fix java preparition

* docs: refine connector docs

* docs: refine connector docs

[TD-14839]

* docs: refine connector doc

[TD-14839]

* docs: refine connector docs

[TD-14839]

* docs: fix node.mdx

[TD-14839]

* docs: refine connector

[TD-14839]

* docs: refine cpp connector

[TD-14839]

* docs: correct bind parameter interface name

[TD-14839]

* docs: refine connector docs

[TD-14839]

* docs: refine connector

[TD-14839]

* docs: refine connector

[TD-14839]

* docs: refine connector docs

[TD-14839]

* docs: refine connector

[TD-14839]

* docs: fix connector tabs

[TD-14839]

* fix tabitem values

* docs: refine connector

[TD-14839]

* fix typo

* docs: fix connector

[TD-14839]

* fix csharp.mdx

* refine connector docs

question list is numerical

* refine go connector doc

* refine go.mdx
上级 18a37ac8
...@@ -320,7 +320,9 @@ func main() { ...@@ -320,7 +320,9 @@ func main() {
### 高级功能(afAPI ### 高级功能(afAPI
`af` 包封装了订阅、schemaless、参数绑定等 TDengine 高级功能。 `af` 包封装了连接管理、订阅、schemaless、参数绑定等 TDengine 高级功能。
#### 连接管理
* `af.Open(host, user, pass, db string, port int) (*Connector, error)` * `af.Open(host, user, pass, db string, port int) (*Connector, error)`
...@@ -330,7 +332,7 @@ func main() { ...@@ -330,7 +332,7 @@ func main() {
关闭与 taosd 的连接。 关闭与 taosd 的连接。
订阅 #### 订阅
* `func (conn *Connector) Subscribe(restart bool, topic string, sql string, interval time.Duration) (Subscriber, error)` * `func (conn *Connector) Subscribe(restart bool, topic string, sql string, interval time.Duration) (Subscriber, error)`
...@@ -344,7 +346,7 @@ func main() { ...@@ -344,7 +346,7 @@ func main() {
取消订阅数据。 取消订阅数据。
schemaless 写入 #### schemaless
* `func (conn *Connector) InfluxDBInsertLines(lines []string, precision string) error` * `func (conn *Connector) InfluxDBInsertLines(lines []string, precision string) error`
...@@ -358,7 +360,7 @@ schemaless 写入 ...@@ -358,7 +360,7 @@ schemaless 写入
写入 OpenTSDB JSON 协议数据。 写入 OpenTSDB JSON 协议数据。
参数绑定 #### 参数绑定
* `func (conn *Connector) StmtExecute(sql string, params *param.Param) (res driver.Result, err error)` * `func (conn *Connector) StmtExecute(sql string, params *param.Param) (res driver.Result, err error)`
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册