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

Function getTableRows

tests/integration/utils.ts:25–31  ·  view source on GitHub ↗
(
  target: dataform.ITarget,
  executionSql: ExecutionSql,
  dbadapter: dbadapters.IDbAdapter
)

Source from the content-addressed store, hash-verified

23}
24
25export async function getTableRows(
26 target: dataform.ITarget,
27 executionSql: ExecutionSql,
28 dbadapter: dbadapters.IDbAdapter
29) {
30 return (await dbadapter.execute(`SELECT * FROM ${executionSql.resolveTarget(target)}`)).rows;
31}
32
33export async function compile(
34 projectDir: string,

Callers 1

bigquery.spec.tsFile · 0.90

Calls 2

executeMethod · 0.65
resolveTargetMethod · 0.45

Tested by

no test coverage detected