Available in versions: Dev (3.20) | Latest (3.19) | 3.18 | 3.17

Logarithmic functions

Applies to ✅ Open Source Edition   ✅ Express Edition   ✅ Professional Edition   ✅ Enterprise Edition

Some dialects may not support all trigonometric functions.

Using Settings.transformPatternsLogarithmicFunctions, the following transformations can be achieved:

-- With Settings.transformPatternsLogarithmicFunctions active, this:
  LN(value) / LN(base),
  LOG(e, x),
  LOG(10, x),
  POWER(e, x)
FROM tab;

-- ... is transformed into the equivalent expression:
  LOG(base, value), -- LN(value) / LN(base)
  e,                -- EXP(1)
  LN(x),            -- LOG(e, x)
  LOG10(x),         -- LOG(10, x)
  EXP(x)            -- POWER(e, x)
FROM tab;


Do you have any feedback about this page? We'd love to hear it!

The jOOQ Logo