ARRAY_POPFRONT
array_popfrontβ
array_popfront
descriptionβ
Syntaxβ
ARRAY<T> array_popfront(ARRAY<T> arr)
Remove the first element from array.
exampleβ
mysql> select array_popfront(['test', NULL, 'value']);
+-----------------------------------------------------+
| array_popfront(ARRAY('test', NULL, 'value')) |
+-----------------------------------------------------+
| [NULL, value] |
+-----------------------------------------------------+
keywordsβ
ARRAY,POPFRONT,ARRAY_POPFRONT