Copyright © 2022 MarkLogic Corporation. All rights reserved.
MarkLogic Server
Node.js Application Developer’s
Guide
1
MarkLogic 10
June, 2019
Last Revised: 10.0-9, February, 2022
MarkLogic Server
Table of Contents
MarkLogic 10—June, 2019
Node.js Application Developer’s Guide—Page 2
Table of Contents
Node.js Application Developer’s Guide
1.0
Introduction to the Node.js Client API ..........................................................9
1.1
Getting Started ........................................................................................................9
1.2
Required Software ................................................................................................14
1.3
Security Requirements ..........................................................................................15
1.3.1 Basic Security Requirements ....................................................................15
1.3.2 Controlling Document Access ..................................................................16
1.3.3 Evaluating Requests Against a Different Database ..................................16
1.3.4 Evaluating or Invoking Server-Side Code ................................................16
1.4
Terms and Definitions ..........................................................................................17
1.5
Key Concepts and Conventions ............................................................................18
1.5.1 MarkLogic Namespace .............................................................................18
1.5.2 Parameter Passing Conventions ................................................................18
1.5.3 Document Descriptor ................................................................................19
1.5.4 Supported Result Handling Techniques ...................................................19
1.5.5 Promise Result Handling Pattern ..............................................................20
1.5.6 Stream Result Handling Pattern ........................................................