可用版本:Dev (3.21) | 最新版 (3.20) | 3.19 | 3.18

BIT_GET函数

适用于 ✅ 开源版   ✅ 专业版   ✅ 企业版

位运算可以匹配来表示 BIT_GET 函数

使用 Settings.transformPatternsBitGet,可以实现以下转换

-- With Settings.transformPatternsBitGet active, this:
SELECT
  (a & (1 << b)) >> b
FROM tab;

-- ... is transformed into the equivalent expression:
SELECT
  bit_get(a, b)
FROM tab;

反馈

您对此页面有任何反馈吗?我们很乐意听取您的意见!

The jOOQ Logo