Stream: cql
Topic: Tuple Expression vs. Tuple Type
Matthew Dugal (Mar 01 2018 at 18:11):
What is the difference between a Tuple : Expression and a Tuple type? What would a tuple expression look like in CQL?
Bryn Rhodes (Mar 01 2018 at 18:58):
A Tuple Type is the type of a Tuple Expression (just like Integer is the Type of an Integer-valued Expression). A Tuple Type would be used in a Parameter or Function to specify the type:
parameter PatientInfo Tuple { id String, name String }
A Tuple Selector then looks like:
define TupleData: Tuple { id: 1, name: 'John Joe' }
Last updated: Apr 12 2022 at 19:14 UTC