Skip to content

Latest commit

 

History

History
24 lines (13 loc) · 505 Bytes

matching.md

File metadata and controls

24 lines (13 loc) · 505 Bytes

Relational matching (join + project back on left)

SYNOPSIS

#(signature)

DESCRIPTION

This operator restricts its LEFT operand to tuples for which there exists at least one tuple in RIGHT that (naturally) joins. This is a shortcut operator for the following longer expression:

(project (join xxx, yyy), [xxx's attributes])

Or equivalently,

(join xxx, (project xxx, [common attributes]))

EXAMPLE

# Which suppliers supply at least one part?
!(alf matching suppliers supplies)