Skip to content

Conversation

@celeroncoder
Copy link
Owner


name: security patch 2
about: add basic query casting
aim: bug-fix
commit: 57c2d37

PR Change Description

Added basic query casting to notes and user module queries in their respective services.
$eq specifies equality condition. The $eq operator matches documents where the value of a field equals the specified value.

{ <field>: { $eq: <value> } }

Specifying the $eq operator is equivalent to using the form { field: <value> } except when the <value> is a regular expression.

Closes #27

Files Changed

Commit(s)

Additional Info

Check the MongoDB docs for reference on $eq operator here.

@celeroncoder celeroncoder added patch version Automatically create a new patch version tag after PR is merged bug-fix labels Oct 12, 2021
@celeroncoder celeroncoder added this to the secure API milestone Oct 12, 2021
@celeroncoder celeroncoder self-assigned this Oct 12, 2021
@celeroncoder celeroncoder merged commit 7656b24 into dev Oct 12, 2021
@celeroncoder celeroncoder deleted the security-patch-2 branch October 12, 2021 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug-fix patch version Automatically create a new patch version tag after PR is merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Database query built from user-controlled sources

2 participants