MCPcopy Create free account
hub / github.com/PerpetualSoftware/pad / JSONArrayElements

Method JSONArrayElements

internal/store/dialect.go:392–394  ·  view source on GitHub ↗
(column, alias string)

Source from the content-addressed store, hash-verified

390}
391
392func (d *postgresDialect) JSONArrayElements(column, alias string) (string, string) {
393 return "jsonb_array_elements_text(" + column + "::jsonb) AS " + alias + "(value)", alias + ".value"
394}
395
396func (d *postgresDialect) DateBucket(column, granularity string) string {
397 return dateBucketSubstr(column, granularity)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected