Skip to main content

Getting Started with Optic

What Is Optic?

Optic, the primary query language for MarkLogic, is a SQL-like API that can query data from any model in our database. With Optic, you can do anything from a routine SQL-like query to a complex quest through text, values, graphs, geospatial regions, and metadata with just a few lines of code without integrating other tools and systems.