跳到主要内容
跳到主要内容

IGNORE

ignore

description

提示

仅供开发者调试用,请勿在生产环境手动调用该函数。

Syntax

BOOLEAN ignore(T expr...)

对于任意输入,返回 false

example

mysql> select m1, ignore(m1,m2,m1+m2,1) from t_nullable;
+------+----------------------------------------------------------------------+
| m1 | ignore(CAST(`m1` AS BIGINT), CAST(`m2` AS BIGINT), (`m1` + `m2`), 1) |
+------+----------------------------------------------------------------------+
| 1 | 0 |
+------+----------------------------------------------------------------------+

mysql> select ignore();
+----------+
| ignore() |
+----------+
| 0 |
+----------+

keywords

ignore