Loading TOC...

MarkLogic 12 Product Documentation
es functions (Entity Services API)

The remaining Entity Services API is a function that enables you to validate an existing model. For details, see the Entity Services Developer's Guide.

To use the es module in your JavaScript code, include a require statement similar to the following in your code:

const es = require('/MarkLogic/entity-services/entity-services');

The library namespace prefix es is not predefined in the server.

1 function
Function name Description
es.modelValidate Validates an entity services model descriptor.