Click or drag to resize

TDengineStmtBindParamBatch Method

for INSERT only bind one or multiple lines data. The parameter 'bind'

Namespace:  TDengineDriver
Assembly:  TDengineDriver (in TDengineDriver.dll) Version: 1.0.6
Syntax
C#
public static int StmtBindParamBatch(
	IntPtr stmt,
	TAOS_MULTI_BIND[] bind
)

Parameters

stmt
Type: SystemIntPtr
could be the value returned by 'StmtInit', that may be a valid object or NULL.
bind
Type: TDengineDriverTAOS_MULTI_BIND
points to an array contains one or more lines data.Each item in array represents a column's value(s), the item number and sequence should keep consistence with columns in sql statement.

Return Value

Type: Int32
0 for success, non-zero for failure.
See Also