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

Does not work on the client side #26

Open
dotnetwise opened this issue Oct 4, 2015 · 6 comments
Open

Does not work on the client side #26

dotnetwise opened this issue Oct 4, 2015 · 6 comments

Comments

@dotnetwise
Copy link

Collection.aggregate is not defined

Is it hard to support it?

@0xZakk
Copy link

0xZakk commented Nov 4, 2015

You can get around this with a simple meteor method.

@dotnetwise
Copy link
Author

Possible but not simple. Simple woud just be to work :)

@reywood
Copy link

reywood commented Nov 6, 2015

Doing this would require re-implementing mongodb's aggregate pipeline functionality on the client similar to how Meteor's minimongo package implements all the other mongodb functionality. Probably not going to happen in this package any time soon.

@dotnetwise
Copy link
Author

It would not. It should just be a proxy for an automated server method that would simply call it from the server side and return it the answer to the client side. Of course, ideally to be reactive.

@reywood
Copy link

reywood commented Nov 6, 2015

How do you envision security working in that scenario?

@streamnsight
Copy link

I think this is expected since MiniMongo is a complete rewrite of the mongo client for the client side, nad aggregation is not supported by Meteor OOTB...

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

4 participants