How to use the mongo-query-to-postgres-jsonb.convertDotNotation function in mongo-query-to-postgres-jsonb

To help you get started, we’ve selected a few mongo-query-to-postgres-jsonb examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github thomas4019 / expressa / db / postgres.js View on Github external
query += => {
          return mongoToPostgres.convertDotNotation('data', ordering[0]) + (ordering[1] > 0 ? ' ASC' : ' DESC')
        }).join(', ')


Converts MongoDB queries to postgresql queries for jsonb fields.

Latest version published 3 months ago

Package Health Score

65 / 100
Full package analysis