Skip to content

: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.

2.0 KB
Raw Blame
{
  "db_name": "PostgreSQL",
  "query": "\n            SELECT id, uuid, team_id::bigint as \"team_id!\", properties::text as \"properties?\",\n                   properties_last_updated_at::text as \"properties_last_updated_at?\",\n                   properties_last_operation::text as \"properties_last_operation?\",\n                   created_at, version, is_identified,\n                   CASE WHEN is_user_id IS NULL THEN NULL ELSE (is_user_id != 0) END as is_user_id,\n                   last_seen_at\n            FROM posthog_person\n            WHERE team_id = $1 AND uuid = $2 AND is_deleted = false\n            ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "id",
        "type_info": "Int8"
      },
      {
        "ordinal": 1,
        "name": "uuid",
        "type_info": "Uuid"
      },
      {
        "ordinal": 2,
        "name": "team_id!",
        "type_info": "Int8"
      },
      {
        "ordinal": 3,
        "name": "properties?",
        "type_info": "Text"
      },
      {
        "ordinal": 4,
        "name": "properties_last_updated_at?",
        "type_info": "Text"
      },
      {
        "ordinal": 5,
        "name": "properties_last_operation?",
        "type_info": "Text"
      },
      {
        "ordinal": 6,
        "name": "created_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 7,
        "name": "version",
        "type_info": "Int8"
      },
      {
        "ordinal": 8,
        "name": "is_identified",
        "type_info": "Bool"
      },
      {
        "ordinal": 9,
        "name": "is_user_id",
        "type_info": "Bool"
      },
      {
        "ordinal": 10,
        "name": "last_seen_at",
        "type_info": "Timestamptz"
      }
    ],
    "parameters": {
      "Left": [
        "Int4",
        "Uuid"
      ]
    },
    "nullable": [
      false,
      false,
      null,
      null,
      null,
      null,
      false,
      true,
      false,
      null,
      true
    ]
  },
  "hash": "e1093b8c68139b7c25fc944c9a91a8d060ea0f95af0351029928acb5a8d048de"
}