
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
rsql-query-builder-mongodb
Advanced tools
Library for building RSQL query strings for MongoDB in TypeScript and JavaScript.
$ npm install rsql-query-builder-mongodb
The RSQLBuilderMongoDB class provides many methods to build the desired RSQL string.
constructor(options) – Initializes a new RSQLBuilderMongoDB instance.
equal(selector, value) - Appends a condition selector == value.
notEqual(selector, value) - Appends a condition selector != value.
lessThan(selector, value) - Appends a condition selector =lt= value.
lessThanOrEqual(selector, value) - Appends a condition selector =le= value.
greaterThan(selector, value) - Appends a condition selector =gr= value.
greaterThanOrEqual(selector, value) - Appends a condition selector =ge= value.
in(selector, values) - Appends a condition selector =in= (values).
notIn(selector, value) - Appends a condition selector =out= (values).
like(selector, regex, options) - Appends a condition selector =regex= value = options.
notLike(selector, regex, options) - Appends a condition selector =notregex= value = options.
regex(selector, regex, options) - Appends a condition selector =regex= value = options.
notRegex(selector, regex, options) - Appends a condition selector =notregex= value = options.
group(builder) - Wraps the conditions from another RSQLBuilderMongoDB instance in parentheses for grouping.
and() – Appends the logical AND operator ;.
or() - Appends a logical OR operator ,.
concat(builder) – Appends all expressions from another RSQLBuilderMongoDB instance to the current instance.
merge(builders) – Merges multiple RSQLBuilderMongoDB instances into grouped conditions.
toString() - Returns the generated RSQL query string.
isEmpty() – Returns true if the RSQLBuilderMongoDB instance has no expressions; otherwise, returns false.
reset() – Clears all expressions, resetting the RSQLBuilder instance.
merge(builders) – Creates a new RSQLBuilderMongoDB instance and merges multiple RSQLBuilderMongoDB instances into grouped conditions.
This RSQLBuilder for MongoDB is built to be compatible to the following RSQL query resolver: RSQL MongoDB
FAQs
Library for building RSQL query strings for MongoDB.
The npm package rsql-query-builder-mongodb receives a total of 5 weekly downloads. As such, rsql-query-builder-mongodb popularity was classified as not popular.
We found that rsql-query-builder-mongodb demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.