Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove node restriction and allow $date objects #95

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

bytesnz
Copy link

@bytesnz bytesnz commented May 21, 2020

I have:

  • removed the node version restriction as it works with the latest LTS version of node
  • change the forIn function to allow for deep value substitution, for example for $date objects
db.events.aggregate([
    { "$match": { "event": "request", "time": { "$gte": { "$date": "$from" }, "$lt": { "$date": "$to" } }
])
  • added a Dockerfile to generate a docker image that could be pushed to docker hub

bytesnz added 4 commits April 12, 2020 14:15
Change forIn to handle deep substitutions to allow for changing of date values
inside of a $date object
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant