array_popback
array_popback
array_popback
description
Syntax
ARRAY<T> array_popback(ARRAY<T> arr)
Remove the last element from array.
notice
Only supported in vectorized engine
example
mysql> set enable_vectorized_engine=true;
mysql> select array_popback(['test', NULL, 'value']);
+-----------------------------------------------------+
| array_popback(ARRAY('test', NULL, 'value')) |
+-----------------------------------------------------+
| [test, NULL] |
+-----------------------------------------------------+
keywords
ARRAY,POPBACK,ARRAY_POPBACK