:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
{
"db_name": "PostgreSQL",
"query": "\n UPDATE posthog_grouptypemapping\n SET name_singular = CASE WHEN $3 THEN $4 ELSE name_singular END,\n name_plural = CASE WHEN $5 THEN $6 ELSE name_plural END,\n detail_dashboard_id = CASE WHEN $7 THEN $8 ELSE detail_dashboard_id END,\n default_columns = CASE WHEN $9 THEN $10 ELSE default_columns END,\n created_at = CASE WHEN $11 THEN $12 ELSE created_at END\n WHERE project_id = $1 AND group_type_index = $2\n RETURNING id::bigint as \"id!\", team_id::bigint as \"team_id!\",\n project_id as \"project_id!\",\n group_type, group_type_index,\n name_singular, name_plural, default_columns,\n detail_dashboard_id::bigint, created_at\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id!",
"type_info": "Int8"
},
{
"ordinal": 1,
"name": "team_id!",
"type_info": "Int8"
},
{
"ordinal": 2,
"name": "project_id!",
"type_info": "Int8"
},
{
"ordinal": 3,
"name": "group_type",
"type_info": "Varchar"
},
{
"ordinal": 4,
"name": "group_type_index",
"type_info": "Int4"
},
{
"ordinal": 5,
"name": "name_singular",
"type_info": "Varchar"
},
{
"ordinal": 6,
"name": "name_plural",
"type_info": "Varchar"
},
{
"ordinal": 7,
"name": "default_columns",
"type_info": "TextArray"
},
{
"ordinal": 8,
"name": "detail_dashboard_id",
"type_info": "Int8"
},
{
"ordinal": 9,
"name": "created_at",
"type_info": "Timestamptz"
}
],
"parameters": {
"Left": [
"Int8",
"Int4",
"Bool",
"Varchar",
"Bool",
"Varchar",
"Bool",
"Int4",
"Bool",
"TextArray",
"Bool",
"Timestamptz"
]
},
"nullable": [
null,
null,
true,
false,
false,
true,
true,
true,
null,
true
]
},
"hash": "8c35e28e5f7ebb6f194c8af0843434abe6be0c6fa597c0b7e8cb2e1f6f3cd697"
}