# \#orm

**URL:** https://community.icinga.com/tag/orm/401.md

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

---

## [How to do group by with ORM?](https://community.icinga.com/t/how-to-do-group-by-with-orm/14991)

<div class="topic-metadata">

**Author:** [@rivad](https://community.icinga.com/u/rivad)\
**Replies:** 5\
**Last updated:** [July 16, 2025, 2:59pm UTC](https://community.icinga.com/t/how-to-do-group-by-with-orm/14991 "2025-07-16T14:59:50Z")

</div>

I had quite the fight to get a n:m relation working in the module I write. And now I would like the servers be grouped so that the application rows aren’t duplicated, when an application has more then one server. So fr…
