MCPcopy Create free account
hub / github.com/PostHog/duckgres / queryLogColumnExists

Function queryLogColumnExists

server/querylog.go:496–505  ·  view source on GitHub ↗
(db *sql.DB, fullTableName, tableSchema, tableName, columnName string)

Source from the content-addressed store, hash-verified

494 "user": c.username,
495 "team_id": c.teamID,
496 "trace_id": observe.TraceIDFromContext(c.ctx),
497 "protocol": protocol,
498 "query_kind": classifyQuery(cmdType),
499 "duration_ms": time.Since(start).Milliseconds(),
500 "cpu_seconds": profilingSummary.CPUTimeSeconds,
501 "result_rows": resultRows,
502 "application_name": c.applicationName,
503 })
504 }
505
506 ql := c.queryLogSink()
507 if ql == nil {
508 return

Calls 1

queryLogColumnTypeFunction · 0.85