Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hello,
I was wondering weither it would be possible to store the data i pull from my DB inside a stream?
I succefuly made the connexion to Mssql and i am able to query those data using a service.
The reason behind this is that i'd like to be able to iterate through or use the recent temperature data stored in the stream inside a subscription that does some manipulations for me.
Thank you in advance
Solved! Go to Solution.
Hi @WB_9962145.
You can certainly do that. Here are some links that may help to determine the best method:
Difference between Streams, Value Streams and Datatables in ThingWorx
Review the above to determine if you actually want to use streams. It's also possible to leave the data in the source location and write services to handle the manipulations for returning the needed values.
Regards.
--Sharon
Hi @WB_9962145.
You can certainly do that. Here are some links that may help to determine the best method:
Difference between Streams, Value Streams and Datatables in ThingWorx
Review the above to determine if you actually want to use streams. It's also possible to leave the data in the source location and write services to handle the manipulations for returning the needed values.
Regards.
--Sharon
Thanks to this article I can learn more. Expand my knowledge and abilities. Actually the article is very real.