AnalyticsRelationship Interface
Explicit many-to-one left join. The engine rejects duplicate/nonunique target keys instead of multiplying sums.
Package: @txtextcontrol/tx-sheet-control-server. Version: 2.0.0.
Related workbook object-model type, returned through the server control. Obtain it from its owning workbook or collection; it is not a required browser-package import.
Members
Properties
| Property | Description |
|---|---|
| field | The field value of AnalyticsRelationship. |
| id | The id value of AnalyticsRelationship. |
| sourceId | The sourceId value of AnalyticsRelationship. |
| targetField | The targetField value of AnalyticsRelationship. |
| targetSourceId | The targetSourceId value of AnalyticsRelationship. |
Examples
Pass the AnalyticsRelationship value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.
import type { ServerSheetControl } from '@txtextcontrol/tx-sheet-control-server';
function inspectAnalyticsRelationshipId(
analyticsRelationship: Parameters<ServerSheetControl['workbook']['analytics']['setRelationship']>[0],
) {
const value = analyticsRelationship['id'];
console.log('AnalyticsRelationship.id', value);
}