Click or drag to resize

TDengineQueryAsync Method

This API uses non-blocking call mode. Application can open multiple tables and manipulate(query or insert) opened table concurrently. So applications must ensure that opetations on the same table is completely serialized. Because that will cause some query and insert operations cannot be performed.

Namespace:  TDengineDriver
Assembly:  TDengineDriver (in TDengineDriver.dll) Version: 1.0.6
Syntax
C#
public static void QueryAsync(
	IntPtr taos,
	string sql,
	QueryAsyncCallback fq,
	IntPtr param
)

Parameters

taos
Type: SystemIntPtr
A taos connection return by Connect()
sql
Type: SystemString
sql command need to execute
fq
Type: TDengineDriverQueryAsyncCallback
User-defined callback function. QueryAsyncCallback
param
Type: SystemIntPtr
the parameter for callback
See Also