Skip to content

Files

Latest commit

e37b029 · Feb 7, 2025

History

History
executable file
·
31 lines (22 loc) · 1.25 KB

InsertDocumentRequest.md

File metadata and controls

executable file
·
31 lines (22 loc) · 1.25 KB

InsertDocumentRequest

Object containing data for inserting a new document into the table

Properties

Name Type Description Notes
table str Name of the table to insert the document into
cluster str Name of the cluster to insert the document into [optional]
id int Document ID. If not provided, an ID will be auto-generated [optional]
doc object Object containing document data

Example

from manticoresearch.models.insert_document_request import InsertDocumentRequest

# create an instance of InsertDocumentRequest from a JSON string
insert_document_request_instance = InsertDocumentRequest.from_json(json)
# print the JSON string representation of the object
print(InsertDocumentRequest.to_json())

# convert the object into a dict
insert_document_request_dict = insert_document_request_instance.to_dict()
# create an instance of InsertDocumentRequest from a dict
insert_document_request_from_dict = InsertDocumentRequest.from_dict(insert_document_request_dict)

[Back to Model list] [Back to API list] [Back to README]