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

Method database

core/actions/view.ts:440–448  ·  view source on GitHub ↗

* @deprecated Deprecated in favor of * [ViewConfig.project](configs#dataform-ActionConfig-ViewConfig). * * Sets the * Sets the database (Google Cloud project ID) in which to create the output of this action.

(database: string)

Source from the content-addressed store, hash-verified

438 * Sets the database (Google Cloud project ID) in which to create the output of this action.
439 */
440 public database(database: string) {
441 this.proto.target = this.applySessionToTarget(
442 dataform.Target.create({ ...this.proto.target, database }),
443 this.session.projectConfig,
444 this.proto.fileName,
445 { validateTarget: true }
446 );
447 return this;
448 }
449
450 /**
451 * @deprecated Deprecated in favor of

Callers 2

constructorMethod · 0.95

Calls 1

createMethod · 0.65

Tested by

no test coverage detected