Striim 3.9.7 documentation

Grouping statements and commenting

TQL supports SQL-style comments. For example:

-- The PosApp sample application demonstrates how a credit card
-- payment processor might use Striim to generate reports on current
-- transaction activity by merchant and send alerts when transaction
-- counts for a merchant are higher or lower than average for the time
-- of day.

CREATE APPLICATION PosApp; ...

To make your TQL easier to read, we recommend grouping statements by CQ or flow and preceding each group with explanatory comments as necessary. See the TQL source code for the Sample Applications Guide for examples.