meteor-partitioner
meteor-partitioner copied to clipboard
Partitioner.directOperation
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!
It is possible, but you might find it easier just to use collection.direct.find()
(see https://github.com/matb33/meteor-collection-hooks)
nice! I will check it out. Thanks!