Skip to content

Set operations on tables

Leon Starr edited this page Nov 6, 2023 · 2 revisions

The following operations are defined only when each operand shares the same exact table header.

t #= q ^ r // intersect
t #= q + r // union
t #= q - r // subtract (subset of q without r)
t #= q * r // multiply (cross product)
t #= q % r // symmetric difference (union minus intersection)
quantityOfR = ??t // total number of rows

Note that the ^ operator must be followed by a space so it is not interpreted as the input parameter symbol. So q ^r would be an error since it would look like a name followed by the name of an input parameter.

Introduction

Model semantics

Flows (as Variables)

Constants and literals

Structure of an activity

Accessing the class model

Data flow


Grammar and parsing notes

Components

Clone this wiki locally