Table-Valued Functions
1. Overview
Similar to the SQL construct of table-valued functions, a Cinchy User Defined Function can be SELECTED or CROSS JOINED from -- as if it is a table.
2. Using a Table Valued UDF in CQL
The SELECT and FROM clause work the same for a table-valued UDF as they would for a regular Cinchy table.
3. Creating a Table in a UDF
To generate a table within a UDF for use in CQL, a dataTable will need to be created in the same format as the default Cinchy JSON Saved Query response (Image 1).
Last updated