space-cloud
space-cloud copied to clipboard
Add operator to increment DateTime fields
The problem faced currently?
How can we solve it?
If you want this feature to be implemented, give it a thumbs up reaction, so that we can determine which features are important to you. 👍
Does this work for MongoDB? Never thought _inc
could work for datetime😅
$inc in mongo only works with number fieds. When i was doing integration testing, that time i encountered this error., so I thought this could be a useful feature.
I think we should use the _inc
operator since that is meant only for numeric fields. We can add another operator for incrementing datetimes.