FIND YOUR NEXT FEW LINES

Results for “MATCH”

Small, practical examples. Search by task or narrow things down below.

194 snippets foundClear filters
PostgresGetting Started

Join related rows from two tables

Postgres: Match a category key to its display label with an explicit join condition.

Postgres✓ Tested
SQLiteGetting Started

Join related rows from two tables

SQLite: Match a category key to its display label with an explicit join condition.

SQLite✓ Tested
SQLRelationships & missing data

Keep parent rows while filtering joined children

SQL: Put a child filter in ON when unmatched parents must remain in the result.

SQL✓ Tested
SQL ServerRelationships & missing data

Keep parent rows while filtering joined children

SQL Server: Put a child filter in ON when unmatched parents must remain in the result.

SQL Server✓ Tested
PostgresRelationships & missing data

Keep parent rows while filtering joined children

Postgres: Put a child filter in ON when unmatched parents must remain in the result.

Postgres✓ Tested
SQLiteRelationships & missing data

Keep parent rows while filtering joined children

SQLite: Put a child filter in ON when unmatched parents must remain in the result.

SQLite✓ Tested
JavaRecords & reliable control flow

Narrow an object with a pattern variable

Java: Pattern matching avoids a separate cast after a successful instanceof check.

Java✓ Tested
C#LINQ transformations

Pair corresponding collection elements

C#: Zip stops at the shorter sequence, so validate lengths separately if mismatches are an error.

C#✓ Tested
PythonIteration & sequences

Pair corresponding list items

Python: Zip two equally sized sequences into pairs; strict mode rejects mismatched lengths on Python 3.10 or later.

Python✓ Tested
PowerShellArray operations

Pair corresponding values from two arrays

PowerShell: Check lengths before indexing to reject mismatched input collections.

PowerShell✓ Tested
JavaStream transformations

Partition a collection by a predicate

Java: Use partitioningBy to retain both matching and nonmatching values.

Java✓ Tested
Bash ScriptsDiagnostics & defensive scripting

Prevent a variable value from expanding as a filename pattern

Bash Scripts: Quote a variable to pass its literal contents even when matching filenames exist.

Bash Scripts✓ Tested