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

specify requirements of a collection object #1

Closed
7 of 10 tasks
gjohnson opened this issue Jan 23, 2013 · 3 comments
Closed
7 of 10 tasks

specify requirements of a collection object #1

gjohnson opened this issue Jan 23, 2013 · 3 comments

Comments

@gjohnson
Copy link
Collaborator

Required

  • find
  • findOne
  • count
  • distinct
  • update
  • remove
  • findAndModify
  • aggregate
  • geoNear
  • geoHaystackSearch

Maybe

Unsure of these.

No Use

Don't need a query builder for these.

  • createIndex
  • ensureIndex
  • indexInformation
  • dropIndex
  • dropAllIndexes
  • reIndex
  • options
  • isCapped
  • indexExists
  • indexes
  • stats
  • mapReduce
  • group
  • save
@gjohnson
Copy link
Collaborator Author

How should shims like find() and findAndModify() be handled?

See: https://github.com/aheckmann/mquery/blob/master/test/collection/node.js#L16

@aheckmann
Copy link
Collaborator

Those two have odd APIs in the node driver so basically as is in the tests.

On Tuesday, January 22, 2013, Garrett Johnson wrote:

How should shims like find() and findAndModify() be handled?

See:
https://github.com/aheckmann/mquery/blob/master/test/collection/node.js#L16


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-12584451.

Aaron
@aaronheckmann https://twitter.com/#!/aaronheckmann

@aheckmann
Copy link
Collaborator

mapReduce, group are in the No Use category. geoHaystack and aggregate should be supported

vkarpov15 pushed a commit that referenced this issue Mar 29, 2021
Security Fix for Prototype Pollution in mquery
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

No branches or pull requests

2 participants