monggregate
monggregate copied to clipboard
Library to make MongoDB aggregation framework and pipelines easy to use in python.
```python # TODO : Eventually, add support to merge multiple collections at once with union_with with below prototype # def union_with( # self, # *, # collection:str|None=None, # pipeline:list[dict]|None=None, #...
- [x] Define alias generator in BaseClass - [ ] Deprecate aliases defined manually using pydantic.Field - [ ] Check that nothing break - [ ] Whenever possible use .dict()...
- [ ] Allow hybrid (SQL/NoSQL) joins by passing name in join (i.e allow storing matches in an array as in regular Mongo Lookup) - [ ] In SQL tabular...