@@ -167,8 +167,8 @@ receives via the API. The process for selection is summarized below:
167167
168168 - The pre-aggregation contains all dimensions, filter dimensions and leaf
169169 measures from the query
170- - The measures aren't multiplied ([ via a ` hasMany `
171- relation ] [ ref-schema-joins-hasmany ] )
170+ - The measures aren't multiplied ([ via a ` one_to_many `
171+ relationship ] [ ref-schema-joins-rel ] )
172172
1731733 . If no, then check if
174174
@@ -197,7 +197,7 @@ cube(`LineItems`, {
197197 joins: {
198198 Orders: {
199199 sql: ` ${ CUBE } .order_id = ${ Orders .id } ` ,
200- relationship: ` belongsTo ` ,
200+ relationship: ` many_to_one ` ,
201201 },
202202 },
203203
@@ -425,7 +425,7 @@ To recap what we've learnt so far:
425425
426426- ** Additive measures** are measures whose values can be added together
427427
428- - ** Multiplied measures** are measures that define ` hasMany ` relations
428+ - ** Multiplied measures** are measures that define ` one_to_many ` relationships
429429
430430- ** Leaf measures** are measures that do not reference any other measures in
431431 their definition
@@ -488,7 +488,7 @@ Some extra considerations for pre-aggregation selection:
488488 /caching/using-pre-aggregations#pre-aggregations-storage
489489[ ref-schema-dims ] : /schema/reference/dimensions
490490[ ref-schema-joins ] : /schema/reference/joins
491- [ ref-schema-joins-hasmany ] : /schema/reference/joins#relationship
491+ [ ref-schema-joins-rel ] : /schema/reference/joins#relationship
492492[ ref-schema-preaggs ] : /schema/reference/pre-aggregations
493493[ ref-schema-preaggs-origsql] :
494494 /schema/reference/pre-aggregations#type-originalsql
0 commit comments