Building Document Updates
- Last Updated: May 18, 2026
- 1 minute read
- MarkLogic Server
- Version 12.0
- Documentation
Optic also allows you to insert, update, or delete one or more documents through your client application. With this functionality, you can perform both queries and updates through a single API.
This section describes each action in depth with more HR examples.
Note:
To make bulk insertions of content into a database either as one-off tasks or as part of an external orchestration of a workflow, use the MarkLogic Content Pump (mlcp).
To make as-needed insertions of or updates to documents in a database as part of an external client application's business logic, use the MarkLogic REST API.