---
title: "list_append function in Strata | Oplema"
description: "Add a value to the end of a list and return the longer list. For example, list_append([2, 3], 4) returns [2, 3, 4]. Works in a Strata Formula or Filter."
url: "https://oplema.com/docs/strata/functions/list-append"
updated: "2026-11-04"
---

# list\_append

Add a value to the end of a list. Also available as array\_append and array\_push\_back.

## Try an expression

In [Formula](https://oplema.com/docs/strata/prep/formula), enter the expression and set Output type to **VARCHAR**.

### Expression

```
list_append([2, 3], 4)
```

### Result

```
'[2, 3, 4]'
```

The expression returns `INTEGER[]`. Formula stores it as `VARCHAR` in this example. To use your own data, replace the example values with column names. Keep format strings and other options as written.

Try it live in Formula

Result
| id | result |
| --- | --- |
| 1 | \[2, 3, 4\] |

## Arguments and types

```
list_append(l, e)
```

**l**

Any value

**e**

Any value

Supported signatures (1)

```
list_append(l: ANY, e: ANY)
```

The result type can depend on the input types. See DuckDB for the full argument rules.

## Things to know

### With a missing first argument

```
list_append(NULL::INTEGER[], 4)
```

'\[4\]'

## Related functions

[array\_pop\_back

Remove the last value from a list.

](https://oplema.com/docs/strata/functions/array-pop-back)[array\_pop\_front

Remove the first value from a list.

](https://oplema.com/docs/strata/functions/array-pop-front)[array\_push\_front

Add a value at the beginning of a list.

](https://oplema.com/docs/strata/functions/array-push-front)[list\_any\_value

Take the first non-missing value from a list.

](https://oplema.com/docs/strata/functions/list-any-value)

[Browse lists & arrays](https://oplema.com/docs/strata/functions#lists-&-arrays) [DuckDB documentation](https://duckdb.org/docs/current/sql/functions/list.html#list_appendlist-element)

Function metadata from DuckDB, used under the [MIT license](https://github.com/duckdb/duckdb/blob/v1.5.4/LICENSE).
