From f21da55445d4fb69123f85ec1596cf4a12c412c0 Mon Sep 17 00:00:00 2001 From: StoneT2000 Date: Thu, 1 Aug 2019 22:49:42 +0800 Subject: [PATCH] Update Connector.md --- documentation/webdocs/markdowndocs/Connector.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/webdocs/markdowndocs/Connector.md b/documentation/webdocs/markdowndocs/Connector.md index 1b1b3d5b19..735a809655 100644 --- a/documentation/webdocs/markdowndocs/Connector.md +++ b/documentation/webdocs/markdowndocs/Connector.md @@ -132,7 +132,7 @@ TDengine provides APIs for continuous query driven by time, which run queries pe For the time being, TDengine supports subscription on one table. It is implemented through periodic pulling from a TDengine server. -- `TAOS_SUB *taos_subscribe(char *host, char *user, char *pass, char *db, char *table, long time, int mseconds)` +- `TAOS_SUB *taos_subscribe(char *host, char *user, char *pass, char *db, char *table, int64_t time, int mseconds)` The API is used to start a subscription session by given a handle. The parameters required are _host_ (IP address of a TDenginer server), _user_ (username), _pass_ (password), _db_ (database to use), _table_ (table name to subscribe), _time_ (start time to subscribe, 0 for now), _mseconds_ (pulling period). If failed to open a subscription session, a _NULL_ pointer is returned. -- GitLab