MCPcopy Index your code
hub / github.com/Openpanel-dev/openpanel / join

Function join

packages/db/src/sql-builder.ts:18–19  ·  view source on GitHub ↗
(obj: Record<string, string> | string[], joiner: string)

Source from the content-addressed store, hash-verified

16
17export function createSqlBuilder() {
18 const join = (obj: Record<string, string> | string[], joiner: string) =>
19 Object.values(obj).filter(Boolean).join(joiner);
20
21 const sb: SqlBuilderObject = {
22 where: {},

Callers 15

loadFixtureFunction · 0.85
getWhereFunction · 0.85
getHavingFunction · 0.85
getSelectFunction · 0.85
getGroupByFunction · 0.85
getOrderByFunction · 0.85
getJoinsFunction · 0.85
getEventListFunction · 0.85
getEventsCountFunction · 0.85
getWhereWithoutBarFunction · 0.85
getChartSqlFunction · 0.85
getAggregateChartSqlFunction · 0.85

Calls 1

joinMethod · 0.80

Tested by 1

loadFixtureFunction · 0.68