| TDengineSchemalessInsert Method |
In addition to writing data using SQL or using the parameter binding API, writing can also be done using Schemaless,
which eliminates the need to create a super table/data sub-table data structure in advance and writes data directly,
while the TDengine system automatically creates and maintains the required table structure based on the written data
content.
Namespace:
TDengineDriver
Assembly:
TDengineDriver (in TDengineDriver.dll) Version: 1.0.6
Syntax public static IntPtr SchemalessInsert(
IntPtr taos,
string[] lines,
int numLines,
int protocol,
int precision
)
Parameters
- taos
- Type: SystemIntPtr
Database connection, the database connection established by Connect(String, String, String, String, Int16) function. - lines
- Type: SystemString
A pattern-free text string that meets the parsing format requirements. - numLines
- Type: SystemInt32
The number of lines of the text data, cannot be 0. - protocol
- Type: SystemInt32
The protocol type of the lines, used to identify the format of the text data. - precision
- Type: SystemInt32
Precision string of the timestamps in the text data.
Return Value
Type:
IntPtr[Missing <returns> documentation for "M:TDengineDriver.TDengine.SchemalessInsert(System.IntPtr,System.String[],System.Int32,System.Int32,System.Int32)"]
See Also