GithubHelp home page GithubHelp logo

davipatricio / easy-mongodb Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 0.0 34 KB

MongoDB wrapper for begginers using Mongoose and simple syntax made with JavaScript.

License: MIT License

JavaScript 100.00%
database easy-mongodb javascript js mongo mongo-db mongodb mongoose node nodejs

easy-mongodb's Introduction

Hello, I'm Davi Patricio!

I work as a front-end developer and as a back-end developer. I'm living in Sรฃo Paulo, Brazil.

Find me elsewhere ๐ŸŒŽ

Linkedin Badge


๐Ÿ”ง โ€บ Front-End Stack

My Skills

๐Ÿ”ง โ€บ Back-End Stack

My Skills

easy-mongodb's People

Contributors

davipatricio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

easy-mongodb's Issues

Get all documents containing specific letters/numbers in key: or value:

Hey, suppose i want to get all the documents which startswith/ contains/ endswith

  1. "xp-" in the key: part eg { key: 'xp-849690256945184828893455048967860274', value: 1158 }, { key: 'xp-849690256945184828893455048967860274', value: 1 }
    right now i have to use .getall() then filter if it contains "xp-" in the key: part which is requires a for loop and is ineffecient as i have to filter lots of the entries in the array in which i stored the .getall data .

Can a function be added so I only get the documents from database that contains "xp-" in their key: part.

  1. Same with the data: part, that the function only gets the documents from database that contains say '79' in their value: part

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.