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

Adds support for Boolean types and support for '<>' operators #17

Merged
merged 2 commits into from
Nov 25, 2020

Conversation

hogpilot
Copy link
Contributor

@hogpilot hogpilot commented Nov 25, 2020

Two capabilities added in this PR:

  1. Adds support for Boolean types: getMongoQuery('someField = TRUE') returns { someField: true }
  2. Adds support for <> operator: getMongoQuery('someField <> TRUE') returns { someField: { '$ne': true } }

This PR also includes test for the added capabilities.

Fixes #18

@orgoldfus
Copy link
Owner

@hogpilot thanks for this great PR!

@orgoldfus orgoldfus merged commit 61ad1e5 into orgoldfus:master Nov 25, 2020
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.

Add support for Boolean types and '<>' operator
2 participants