The Connector section of the official website reconstructs the C language interface description

This commit is contained in:
Yaming Pei 2024-08-03 18:23:06 +08:00 committed by gccgdb1234
parent 04f9a611c0
commit 0bfa9bcf8f
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ result = taos_query_with_reqid(taos, "USE power", 2L);
taos_free_result(result);
// query data
const char* sql = "SELECT * FROM power.meters";
const char* sql = "SELECT ts, current, location FROM power.meters limit 1";
result = taos_query_with_reqid(taos, sql, 3L);
code = taos_errno(result);
if (code != 0) {