MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / getJoins

Function getJoins

packages/db/src/sql-builder.ts:48–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46 const getLimit = () => (sb.limit ? `LIMIT ${sb.limit}` : '');
47 const getOffset = () => (sb.offset ? `OFFSET ${sb.offset}` : '');
48 const getJoins = () =>
49 Object.keys(sb.joins).length ? join(sb.joins, ' ') : '';
50 const getFill = () => (sb.fill ? `WITH FILL ${sb.fill}` : '');
51 const getWith = () => {
52 const cteEntries = Object.entries(sb.ctes);

Callers 3

createSqlBuilderFunction · 0.85
getChartSqlFunction · 0.85
getAggregateChartSqlFunction · 0.85

Calls 1

joinFunction · 0.85

Tested by

no test coverage detected