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

Method database

core/actions/view.ts:711–718  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

709 }
710
711 public database(): string {
712 if (!this.view.getTarget().database) {
713 this.view.session.compileError(new Error(`Warehouse does not support multiple databases`));
714 return "";
715 }
716
717 return this.view.session.finalizeDatabase(this.view.getTarget().database);
718 }
719
720 public where(where: Contextable<ITableContext, string>) {
721 this.view.where(where);

Callers

nothing calls this directly

Calls 3

compileErrorMethod · 0.80
finalizeDatabaseMethod · 0.80
getTargetMethod · 0.45

Tested by

no test coverage detected