* @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)
| 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 |