mongo-query-to-postgres-jsonb icon indicating copy to clipboard operation
mongo-query-to-postgres-jsonb copied to clipboard

Converts MongoDB queries to postgresql queries for jsonb fields.

Results 15 mongo-query-to-postgres-jsonb issues
Sort by recently updated
recently updated
newest added

The code inserts _partial newline-sensitive matching_ into regex expressions when required. For example, this query: ``` {"name":{ "$regex":"forest"}} ``` correctly leads to: ``` record->>'name' ~ '(\?p)forest' ``` However, when more...

Bumps [shell-quote](https://github.com/substack/node-shell-quote) from 1.7.2 to 1.7.3. Changelog Sourced from shell-quote's changelog. 1.7.3 Fix a security issue where the regex for windows drive letters allowed some shell meta-characters to escape the...

dependencies

Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 3.0.0 to 3.0.1. Commits f545bdb 3.0.1 c57d4c2 fix a few old XO issues for backport 419250f Fix potential ReDoS (#37) See full diff in compare view [![Dependabot...

dependencies

As I can see from test: https://github.com/thomas4019/mongo-query-to-postgres-jsonb/blob/master/test/filter.js#L33 that query like ```json {"roles": {"$elemMatch": "Admin"}} ``` should give SQL like ```js 'data @> \'{ "roles": "Admin" }\'' ``` but if we...

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...

dependencies

This call ``` mToPsql.convertUpdate('value', { $set: { "Items.0": { test: 0 }, "Items.1": { test: 1 }, "Items.2": { test: 2 }, "Items.3": { test: 3 }, "Items.4": { test:...

Bumps [pathval](https://github.com/chaijs/pathval) from 1.1.0 to 1.1.1. Release notes Sourced from pathval's releases. v1.1.1 Fixes a security issue around prototype pollution. Commits db6c3e3 chore: v1.1.1 7859e0e Merge pull request #60 from...

dependencies

Bumps [cached-path-relative](https://github.com/ashaffer/cached-path-relative) from 1.0.2 to 1.1.0. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=cached-path-relative&package-manager=npm_and_yarn&previous-version=1.0.2&new-version=1.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies

Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=path-parse&package-manager=npm_and_yarn&previous-version=1.0.6&new-version=1.0.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies

Mongo has the ability to search for a specific array value, meaning arrays that have the same elements in the same order: https://docs.mongodb.com/manual/tutorial/query-arrays/#match-an-array If I run a similar query with...