list_position()

Returns the index of the element if the list contains the element. If the element is not found, it returns NULL.

Arguments & returns

list_position(list, element)

Scalar
Overload link listelement Returns
#01 ANY[]ANY INTEGER

Example

list_position example
SQL
Haybarn WASM 1.5.5-rc3 · In your browser

Engine example · Run to view results.