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