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

Method assertions

core/actions/view.ts:476–481  ·  view source on GitHub ↗

* @deprecated Deprecated in favor of * [ViewConfig.assertions](configs#dataform-ActionConfig-ViewConfig). * * Sets in-line assertions for this view. * * <!-- Note: this both applies in-line assertions, and acts as a method available via the JS API. * Usage of it via the JS API is d

(tableAssertionsConfig: dataform.ActionConfig.TableAssertionsConfig)

Source from the content-addressed store, hash-verified

474 * needed -->
475 */
476 public assertions(tableAssertionsConfig: dataform.ActionConfig.TableAssertionsConfig): View {
477 const inlineAssertions = this.generateInlineAssertions(tableAssertionsConfig, this.proto);
478 this.uniqueKeyAssertions = inlineAssertions.uniqueKeyAssertions;
479 this.rowConditionsAssertion = inlineAssertions.rowConditionsAssertion;
480 return this;
481 }
482
483 /**
484 * @deprecated Deprecated in favor of

Callers 1

constructorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected