diff --git a/jOOQ/src/main/java/org/jooq/impl/DSL.java b/jOOQ/src/main/java/org/jooq/impl/DSL.java index 22696ab9bb..50d855099e 100644 --- a/jOOQ/src/main/java/org/jooq/impl/DSL.java +++ b/jOOQ/src/main/java/org/jooq/impl/DSL.java @@ -16716,6 +16716,26 @@ public class DSL { return new Least(nullSafeDataType(field), nullSafe(combine(field, others))); } + /** + * Negate a field to get its negative value. + * + * @see Field#neg() + */ + @Support + public static Field neg(Field field) { + return field.neg(); + } + + /** + * Negate a field to get its negative value. + * + * @see Field#neg() + */ + @Support + public static Field minus(Field field) { + return field.neg(); + } + /** * Get the sign of a numeric field: sign(field). *