Click or drag to resize

TDengine.QueryAsync 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: System.IntPtr
A taos connection return by Connect()
sql
Type: System.String
sql command need to execute
fq
Type: TDengineDriver.QueryAsyncCallback
User-defined callback function. QueryAsyncCallback
param
Type: System.IntPtr
the parameter for callback
See Also