036 left join for json, exceptions
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
<cfparam name="ATTRIBUTES.debug" type="boolean" default=false/>
|
||||
<cfparam name="ATTRIBUTES.tenant_wz_index" type="string"/>
|
||||
<cfparam name="ATTRIBUTES.restrict_to_own_instances" type="boolean" default=true/>
|
||||
<cfparam name="ATTRIBUTES.full_join" type="boolean" default=true/>
|
||||
|
||||
|
||||
|
||||
@@ -444,7 +445,12 @@ from a
|
||||
<d:field>m.dimension_2_name</d:field>
|
||||
</d:field_set>
|
||||
FROM qSpec s
|
||||
FULL OUTER JOIN qUnifiedMetric m ON (
|
||||
<cfif attributes.full_join>
|
||||
FULL OUTER JOIN
|
||||
<cfelse>
|
||||
LEFT OUTER JOIN
|
||||
</cfif>
|
||||
qUnifiedMetric m ON (
|
||||
s.sku_code=m.code
|
||||
AND s.serviceStart <= m.dt
|
||||
AND (m.dt <= s.serviceEnd OR s.serviceEnd IS NULL)
|
||||
|
||||
Reference in New Issue
Block a user