Cannot have $inc behavior with float field #517

NoiseByNorthwest opened this Issue Mar 1, 2013 · 1 comment


None yet
2 participants

It is not possible for now to take advantage of the $inc operator with float fields since increment is a type with integer rules conversions.
IMO, increment should not be a type but only a qualifier which thus could be mixed with any incrementable type.


malarzm commented Dec 20, 2015

I can't point to any specific commit but $inc works with floating numbers now.

@malarzm malarzm closed this Dec 20, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment