Skip to main content

Getting Started with Optic

Building Document Updates

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.


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.