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

Partitioner.directOperation #20

Open
alur222 opened this issue Feb 3, 2016 · 2 comments
Open

Partitioner.directOperation #20

alur222 opened this issue Feb 3, 2016 · 2 comments
Labels

Comments

@alur222
Copy link

alur222 commented Feb 3, 2016

Hi @mizzao it's me again. I am trying to do an operation on a partitioned collection. Basically, I want to query something on the collection and just return the results. Is it achievable with Partitioner.directOperation ? My collection basically contains email addresses and I want to check if an email address belongs to another partition.

Im pretty confused because I can't seem to return anything. Any thoughts?

Thanks!

@mizzao
Copy link
Collaborator

mizzao commented Feb 3, 2016

It is possible, but you might find it easier just to use collection.direct.find() (see https://github.com/matb33/meteor-collection-hooks)

@mizzao mizzao added the question label Feb 3, 2016
@alur222
Copy link
Author

alur222 commented Feb 3, 2016

nice! I will check it out. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants