New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

ml-query-builder.js

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ml-query-builder.js

a lightweight, browser-friendly MarkLogic structured-query builder

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

ml-query-builder.js

a lightweight MarkLogic structured query builder, offered as a browser-friendly alternative to the official marklogic client

install from npm:

npm install ml-query-builder.js
var qb = require('ml-query-builder.js')

qb.where(qb.and())
// => {query:{queries:[{and-query:{queries:[]}}]}}

A compatible subset of the official queryBuilder is provided:

API docs

Additionally, extension methods are provided to support server-side query options:

API docs

adapted from the MLQueryBuilder angular service in ml-common-ng#v1.0.1

Keywords

marklogic

FAQs

Package last updated on 28 May 2016

Related posts