Data from different database collections
Hey,
I got a question regarding data from different collections.
I developing an application where users can place their orders.
Currently i'm getting all the data from application into database collection named "Orders_DB". But you all know that device_id's default storage is predefined collection called "Device Data". What i want to do is to get the Device_id stored in "Orders_DB" collection near the order details. This is to know which order was sent from which device.
Because afterwards i want to send Push Notification to the user's device so he would know that his order was started to be processed.
Maybe i can store Device_id as local storage variable and upload it with all other data?
Please advice ![]()