meteor-partitioner icon indicating copy to clipboard operation
meteor-partitioner copied to clipboard

Partitioner.directOperation

Open alur222 opened this issue 9 years ago • 2 comments

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!

alur222 avatar Feb 03 '16 05:02 alur222

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

mizzao avatar Feb 03 '16 05:02 mizzao

nice! I will check it out. Thanks!

alur222 avatar Feb 03 '16 09:02 alur222