: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 SELECT ppd.person_id, ppd.distinct_id,\n fhko.feature_flag_key as \"feature_flag_key?\",\n fhko.hash_key as \"hash_key?\"\n FROM posthog_persondistinctid ppd\n LEFT JOIN posthog_featureflaghashkeyoverride fhko\n ON fhko.person_id = ppd.person_id AND fhko.team_id = ppd.team_id\n AND fhko.hash_key <> $3\n WHERE ppd.team_id = $1 AND ppd.distinct_id = ANY($2) AND ppd.is_deleted = false\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "person_id",
"type_info": "Int8"
},
{
"ordinal": 1,
"name": "distinct_id",
"type_info": "Varchar"
},
{
"ordinal": 2,
"name": "feature_flag_key?",
"type_info": "Varchar"
},
{
"ordinal": 3,
"name": "hash_key?",
"type_info": "Varchar"
}
],
"parameters": {
"Left": [
"Int4",
"TextArray",
"Text"
]
},
"nullable": [
false,
false,
false,
false
]
},
"hash": "4e8b4f81cd27015e126b884d8e490991048df0301a0c801292315e1e7304746d"
}