-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: places should be optional for $trunc and $round (#368)
* fix: updated truncate function to default to 0 places Updated truncate function to default to 0 places as per mongo documentation. https://www.mongodb.com/docs/manual/reference/operator/aggregation/trunc/ * test: added optional places unit tests for $round and $trunc
- Loading branch information
1 parent
265ab27
commit 14a73ba
Showing
2 changed files
with
15 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters