# \#mongodb

**URL:** https://forums.losant.com/tag/mongodb/104.md

[Latest](https://forums.losant.com/latest.md) · [Categories](https://forums.losant.com/categories.md) · [Tags](https://forums.losant.com/tags.md)

---

## [MongoDB Timeseries collection with Losant](https://forums.losant.com/t/mongodb-timeseries-collection-with-losant/5028)

<div class="topic-metadata">

**Author:** [@Alok\_Singh1](https://forums.losant.com/u/Alok_Singh1)\
**Replies:** 5\
**Last updated:** [April 25, 2023, 4:24am UTC](https://forums.losant.com/t/mongodb-timeseries-collection-with-losant/5028 "2023-04-25T04:24:52Z")

</div>

We are trying to use MongoDB node to store timeseries data external to Losant. But keep on getting error from external DB related to timestamp format: “timestamp” is defined as time type attribute in the collectio…

---

## [Post endpoint workflow mongodb find](https://forums.losant.com/t/post-endpoint-workflow-mongodb-find/3936)

<div class="topic-metadata">

**Author:** [@Tim\_Brennan](https://forums.losant.com/u/Tim_Brennan)\
**Replies:** 11\
**Last updated:** [July 22, 2021, 7:19pm UTC](https://forums.losant.com/t/post-endpoint-workflow-mongodb-find/3936 "2021-07-22T19:19:52Z")

</div>

Hi, I have a post workflow that is searching a mongodb for matching devices. I’m struggling with including a $gt and $lt for a date range in the query. workflow: endpoint mongodb: find with this as the json template…

---

## [Mongodb sort the find query](https://forums.losant.com/t/mongodb-sort-the-find-query/1685)

<div class="topic-metadata">

**Author:** [@Malaga982](https://forums.losant.com/u/Malaga982)\
**Replies:** 17\
**Last updated:** [April 18, 2019, 3:31pm UTC](https://forums.losant.com/t/mongodb-sort-the-find-query/1685 "2019-04-18T15:31:39Z")

</div>

Hello, i’m trying to create my own rest api to use as an alternative to mlab api ( sooner or later it will shutdown ). I’m able to do a find search, with something like ?q={“field”:“name”} . but when i have to sort th…
