LIKE
Match text against a case-sensitive pattern.
Try an expression
In Formula, enter the expression and set Output type to BOOLEAN.
Example input
- Row 1
name = 'Ada' - Row 2
name = 'Lin' - Row 3
name = NULL
Expression
name LIKE 'A%'Result
Row 1: true
Row 2: false
Row 3: NULLNULL means the value is missing.
This Boolean expression also works in Filter custom mode. The True output receives rows 1; the False output receives rows 2, 3. A missing result goes to False.
Arguments and types
string LIKE patternThe result type can depend on the input types. See DuckDB for the full argument rules.
Function metadata from DuckDB, used under the MIT license.