MCPcopy Create free account
hub / github.com/dataform-co/dataform / constructor

Method constructor

core/utils.ts:597–603  ·  view source on GitHub ↗
(values?: Array<{ actionTarget: dataform.ITarget, value: T }>)

Source from the content-addressed store, hash-verified

595 private byDatabaseSchemaAndName: Map<string, Map<string, Map<string, T[]>>> = new Map();
596
597 public constructor(values?: Array<{ actionTarget: dataform.ITarget, value: T }>) {
598 if (values) {
599 for (const { actionTarget, value } of values) {
600 this.set(actionTarget, value);
601 }
602 }
603 }
604
605 public set(actionTarget: dataform.ITarget, value: T) {
606 this.setByNameLevel(this.byName, actionTarget.name, value);

Callers

nothing calls this directly

Calls 1

setMethod · 0.95

Tested by

no test coverage detected