Skip to contents

Returns true if all elements of list2 are in list1. NULLs are ignored.

Usage

list_has_all(list1, list2)

Arguments

list1, list2

T[]

Value

BOOLEAN

SQL examples

list_has_all([1, 2, 3], [2, 3])