Update Connector.md

This commit is contained in:
StoneT2000 2019-08-01 22:49:42 +08:00
parent 11eb21a68f
commit f21da55445
1 changed files with 1 additions and 1 deletions

View File

@ -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. 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. 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.