array_popfront

array_popfront

description

Syntax

ARRAY<T> array_popfront(ARRAY<T> arr)

Remove the first element from array.

example

  1. mysql> select array_popfront(['test', NULL, 'value']);
  2. +-----------------------------------------------------+
  3. | array_popfront(ARRAY('test', NULL, 'value')) |
  4. +-----------------------------------------------------+
  5. | [NULL, value] |
  6. +-----------------------------------------------------+

keywords

ARRAY,POPFRONT,ARRAY_POPFRONT