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