Skip to main content

Getting Started with Optic

What Is Optic?

Optic is the primary MarkLogic language for querying and updating your data. It is an API that uses a flexible pipeline to access any model in your database then to process it through one SQL-like operator after another. With Optic, you can do anything from routine, relational-database-like querying to complex quests through text, values, graphs, geospatial regions, and metadata with just a few lines of code without integrating other tools and systems.