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

Method JSONExtractPath

internal/store/dialect.go:183–185  ·  view source on GitHub ↗
(column, path string)

Source from the content-addressed store, hash-verified

181}
182
183func (d *sqliteDialect) JSONExtractPath(column, path string) string {
184 return fmt.Sprintf("json_extract(%s, '$.%s')", column, path)
185}
186
187func (d *sqliteDialect) JSONSet(column, key string) string {
188 return fmt.Sprintf("json_set(%s, '$.%s', ?)", column, key)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected