Hi all, im using perak/meteor-mqtt-collection so when i get a mqtt message it’s inserted into a specified collection in this way:
id (id of the document)
topic (topic that the message was published to)
| data of the message(like value : 30 or json format)
what i need is to insert (or update) this data into a different collection and delete the original message…
can you suggest a way to do that?