You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
content: 'This showcase demonstrates how to write Relation Function Class Mappings. \n\nThis allows you to map classes to functions returning a \'new\' TDS (Relation). Supported class properties can only be primitives \nhaving multiplicity 1 and get mapped to individual columns in the mapped relation.\n\nQueries can also use a mixture of Relational and Relation Function class mappings.\n\nYour relation expression can contain complex joins, aggregates and window columns, thus providing a more powerful alternative to \nRelational Store views.\n\nYou can execute the service tests to see how all of this works end-to-end. You can also generate plan for the services and inspect \nthe generated SQL.';
50
+
content: 'This showcase demonstrates how to write Relation Function Class Mappings. \n\nThis allows you to map classes to functions returning a \'new\' TDS (Relation). Supported class properties can only be primitives \nhaving multiplicity 1 and get mapped to individual columns in the mapped relation.\n\nQueries can also use a mixture of Relational and Relation Function class mappings.\n\nYour relation expression can contain complex joins, aggregates and window columns, thus providing a more powerful alternative to \nRelational Store views.\n\nYou can execute the function tests to see how all of this works end-to-end. You can also generate plan for the functions and inspect \nthe generated SQL.';
239
51
}
240
52
241
53
@@ -309,6 +121,84 @@ function showcase::relationFunctionMapping::function::complexPersonFunction(): m
309
121
)
310
122
}
311
123
124
+
function showcase::relationFunctionMapping::query::complexQuery(): meta::pure::tds::TabularDataSet[1]
Copy file name to clipboardExpand all lines: showcases/data/End To End Examples/Relation Function Class Mapping/info.md
+3-6Lines changed: 3 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,13 +5,10 @@ Description: End-to-End example for writing Relation Function Class Mappings
5
5
6
6
This showcase demonstrates how to write Relation Function Class Mappings.
7
7
8
-
This allows you to map classes to functions returning a 'new' TDS (Relation). Supported class properties can only be primitives
9
-
having multiplicity 1 and get mapped to individual columns in the mapped relation.
8
+
This allows you to map classes to functions returning a 'new' TDS (Relation). Supported class properties can only be primitives having multiplicity 1 and get mapped to individual columns in the mapped relation.
10
9
11
10
Queries can also use a mixture of Relational and Relation Function class mappings.
12
11
13
-
Your relation expression can contain complex joins, aggregates and window columns, thus providing a more powerful alternative to
14
-
Relational Store views.
12
+
Your relation expression can contain complex joins, aggregates and window columns, thus providing a more powerful alternative to Relational Store views.
15
13
16
-
You can execute the service tests to see how all of this works end-to-end. You can also generate plan for the services and inspect
17
-
the generated SQL.
14
+
You can execute the function tests to see how all of this works end-to-end. You can also generate plan for the functions and inspect the generated SQL.
0 commit comments