How-to add documents to TerminusDB and TerminusCMS using the Python Client
After you have imported the terminusdb_client
, and created a client, connected to a database, and added some schema, you can then use this client to insert a document that conforms to the schema.
To insert a document, you should use insert_document
:
To insert multiple documents you can also invoke insert_document
:
Additionally, you can update the schema itself by adding schema documents: