: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 DISTINCT p.person_id, p.distinct_id,\n existing.feature_flag_key as \"feature_flag_key?\",\n existing.hash_key as \"hash_key?\"\n FROM posthog_persondistinctid p\n LEFT JOIN posthog_featureflaghashkeyoverride existing\n ON existing.person_id = p.person_id AND existing.team_id = p.team_id\n AND existing.hash_key <> $3\n WHERE p.team_id = $1 AND p.distinct_id = ANY($2) AND p.is_deleted = false\n AND EXISTS (SELECT 1 FROM posthog_person WHERE id = p.person_id AND team_id = p.team_id AND 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": "91b5e570539a804b17c041822958f36330b2ce1dda96331f7bccca398926b080"
}