array_popback
array_popback
description
Syntax
ARRAY<T> array_popback(ARRAY<T> arr)
返回移除最后一个元素后的数组,如果输入参数为NULL,则返回NULL
example
mysql> select array_popback(['test', NULL, 'value']);
+-----------------------------------------------------+
| array_popback(ARRAY('test', NULL, 'value')) |
+-----------------------------------------------------+
| [test, NULL] |
+-----------------------------------------------------+
keywords
ARRAY,POPBACK,ARRAY_POPBACK