Click or drag to resize

TDengineStmtBindSingleParamBatch Method

bind a single column's data, INTERNAL used and for INSERT only.

Namespace:  TDengineDriver
Assembly:  TDengineDriver (in TDengineDriver.dll) Version: 1.0.6
Syntax
C#
public static int StmtBindSingleParamBatch(
	IntPtr stmt,
	ref TAOS_MULTI_BIND bind,
	int colIdx
)

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 a column's data which could be the one or more lines.
colIdx
Type: SystemInt32
the column's index in prepared sql statement, it starts from 0.

Return Value

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