Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamadkhalaj authored Oct 29, 2023
2 parents 2ff48fe + 0f0e840 commit b8a4483
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,10 @@ Aggify is a Python library for generating MongoDB aggregation pipelines, designe

## TODO

- [x] `$match`: Filters the documents to include only those that match a specified condition.
- [x] `$project`: Reshapes and selects specific fields from the documents.
- [x] `$group`: Groups documents by a specified field and performs aggregation operations within each group.
- [x] `$unwind`: Deconstructs arrays within documents, creating multiple documents for each array element.
- [x] `$limit`: Limits the number of documents in the result.
- [x] `$skip`: Skips a specified number of documents in the result.
- [x] `$lookup`: Performs a left outer join to combine documents from two collections.
- [x] `$sort`: Sorts the documents in the aggregation pipeline.
- [x] `$addFields`: Adds new fields to the documents in the pipeline.
- [x] `$group` (with accumulators): Performs various aggregation operations like counting, summing, averaging, and more.
- [x] `$replaceRoot`: Replaces the document structure with a new one.
- [x] `$replaceWith`: Replaces the document structure with a new one (new).
- [x] `$mergeObjects`: Combines multiple documents into a single document.
- [ ] `$project` (with expressions): Allows you to use expressions to reshape and calculate values.
- [ ] `$redact`: Controls document inclusion during the aggregation pipeline.
- [ ] `$out`: Writes the result of the aggregation pipeline to a new collection.

- [x] Q function : object is primarily used for complex queries that require logical operations
- [x] F function : object represents the value of a model field, its transformed value, or an annotated column

## Installation

You can install Aggify using pip:
Expand Down

0 comments on commit b8a4483

Please sign in to comment.