◆ insertRecords< T >() [1/2]
| inline |
Adds multiple records to the specified table.
The operation is synchronous, meaning that a response will not be returned until all the records are fully inserted and available. The response payload provides the counts of the number of records actually inserted and/or updated, and can provide the unique identifier of each added record.
The options parameter can be used to customize this function’s behavior.
The UPDATE_ON_EXISTING_PK option specifies the record collision policy for inserting into a table with a primary key, but is ignored if no primary key exists.
The RETURN_RECORD_IDS option indicates that the database should return the unique identifiers of inserted records.
| T | The type of object being added. |
| request_ | Request object containing the parameters for the operation. |
Definition at line 44240 of file KineticaFunctions.cs.
◆ insertRecords< T >() [2/2]
| inline |
Adds multiple records to the specified table.
The operation is synchronous, meaning that a response will not be returned until all the records are fully inserted and available. The response payload provides the counts of the number of records actually inserted and/or updated, and can provide the unique identifier of each added record.
The options parameter can be used to customize this function’s behavior.
The UPDATE_ON_EXISTING_PK option specifies the record collision policy for inserting into a table with a primary key, but is ignored if no primary key exists.
The RETURN_RECORD_IDS option indicates that the database should return the unique identifiers of inserted records.
| T | The type of object being added. |
| table_name | Name of table to which the records are to be added, in [schema_name.]table_name format, using standard name resolution rules. Must be an existing table. |
| data | An array of binary-encoded data for the records to be added. All records must be of the same type as that of the table. Empty array if list_encoding is JSON. |
| options | Optional parameters.
|
Definition at line 44669 of file KineticaFunctions.cs.
◆ InsertRecordsAsync< T >() [1/2]
| inline |
Adds multiple records to the specified table.
(async)
The operation is synchronous, meaning that a response will not be returned until all the records are fully inserted and available. The response payload provides the counts of the number of records actually inserted and/or updated, and can provide the unique identifier of each added record.
The options parameter can be used to customize this function’s behavior.
The UPDATE_ON_EXISTING_PK option specifies the record collision policy for inserting into a table with a primary key, but is ignored if no primary key exists.
The RETURN_RECORD_IDS option indicates that the database should return the unique identifiers of inserted records.
| T | The type of object being added. |
| request_ | Request object containing the parameters for the operation. |
| cancellationToken | Cancellation token to cancel the operation. |
Definition at line 44279 of file KineticaFunctions.cs.
◆ InsertRecordsAsync< T >() [2/2]
| inline |
Adds multiple records to the specified table.
(async)
The operation is synchronous, meaning that a response will not be returned until all the records are fully inserted and available. The response payload provides the counts of the number of records actually inserted and/or updated, and can provide the unique identifier of each added record.
The options parameter can be used to customize this function’s behavior.
The UPDATE_ON_EXISTING_PK option specifies the record collision policy for inserting into a table with a primary key, but is ignored if no primary key exists.
The RETURN_RECORD_IDS option indicates that the database should return the unique identifiers of inserted records.
| T | The type of object being added. |
| table_name | Name of table to which the records are to be added, in [schema_name.]table_name format, using standard name resolution rules. Must be an existing table. |
| data | An array of binary-encoded data for the records to be added. All records must be of the same type as that of the table. Empty array if list_encoding is JSON. |
| options | Optional parameters.
|
| cancellationToken | Cancellation token to cancel the operation. |
Definition at line 45057 of file KineticaFunctions.cs.