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

Method fill

packages/db/src/clickhouse/query-builder.ts:271–283  ·  view source on GitHub ↗
(
    from: string | Date | Expression,
    to: string | Date | Expression,
    step: string | Expression
  )

Source from the content-addressed store, hash-verified

269
270 // Fill
271 fill(
272 from: string | Date | Expression,
273 to: string | Date | Expression,
274 step: string | Expression
275 ): this {
276 this._fill = {
277 from:
278 from instanceof Expression ? from.toString() : this.escapeDate(from),
279 to: to instanceof Expression ? to.toString() : this.escapeDate(to),
280 step: step instanceof Expression ? step.toString() : step,
281 };
282 return this;
283 }
284
285 private escapeDate(value: string | Date): string {
286 if (value instanceof Date) {

Callers 9

getTopGenericSeriesMethod · 0.80
getPageTimeseriesMethod · 0.80
overview.tsFile · 0.80
widget.tsFile · 0.80
createSummaryRowFunction · 0.80
OverviewWeeklyTrendsFunction · 0.80
useStrokeDasharrayFunction · 0.80

Calls 2

escapeDateMethod · 0.95
toStringMethod · 0.45

Tested by

no test coverage detected