$abs
Update records by setting the value of a numeric column to its absolute value. The $abs method is used to transform a numeric field by removing any negative sign, ensuring that the value is always positive or zero. This is useful when working with data that should not have negative values, such as distances, counts, or other non-negative metrics.
Last updated