add
Function
Saves the document splitting information in a relational database.
Prototype
def add(documents, document_id)
Parameters
Parameter |
Data Type |
Required/Optional |
Description |
|---|---|---|---|
documents |
List[MxDocument]. For details about MxDocument, see MxDocument. |
Required |
Document splitting object list, which cannot be empty. The list length cannot exceed 1000 × 1000. |
document_id |
Integer |
Required |
Document ID. For details, see DocumentModel. |
Return Value
Data Type |
Description |
|---|---|
List[int] |
ID list of the stored documents. |
Parent topic: SQLiteDocstore