{
  "db_name": "PostgreSQL",
  "query": "\n        SELECT \n            t.id, \n            t.slug, \n            t.name,\n            t.icon,\n            t.color,\n            t.created_at,\n            COUNT(pt.project_id)::int as \"project_count!\"\n        FROM tags t\n        LEFT JOIN project_tags pt ON t.id = pt.tag_id\n        GROUP BY t.id, t.slug, t.name, t.icon, t.color, t.created_at\n        ORDER BY t.name ASC\n        ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 1,
        "name": "slug",
        "type_info": "Text"
      },
      {
        "ordinal": 2,
        "name": "name",
        "type_info": "Text"
      },
      {
        "ordinal": 3,
        "name": "icon",
        "type_info": "Text"
      },
      {
        "ordinal": 4,
        "name": "color",
        "type_info": "Varchar"
      },
      {
        "ordinal": 5,
        "name": "created_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 6,
        "name": "project_count!",
        "type_info": "Int4"
      }
    ],
    "parameters": {
      "Left": []
    },
    "nullable": [
      false,
      false,
      false,
      true,
      true,
      false,
      null
    ]
  },
  "hash": "82c27809a4e88b594c41b65c573c4c28aeceba2cc20b1c16cbdfb8c7ea4b23c0"
}
