{
  "db_name": "PostgreSQL",
  "query": "\n        SELECT r.id, r.name, r.key as code, r.audience, r.is_active, r.created_at, rc.updated_at as \"updated_at?\", rc.config_json as \"config_json?\"\n        FROM roles r\n        LEFT JOIN runtime_configs rc ON rc.role_id = r.id AND rc.is_active = true\n        WHERE r.id = $1 AND r.audience = 'EXTERNAL'\n        ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 1,
        "name": "name",
        "type_info": "Varchar"
      },
      {
        "ordinal": 2,
        "name": "code",
        "type_info": "Varchar"
      },
      {
        "ordinal": 3,
        "name": "audience",
        "type_info": "Varchar"
      },
      {
        "ordinal": 4,
        "name": "is_active",
        "type_info": "Bool"
      },
      {
        "ordinal": 5,
        "name": "created_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 6,
        "name": "updated_at?",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 7,
        "name": "config_json?",
        "type_info": "Jsonb"
      }
    ],
    "parameters": {
      "Left": [
        "Uuid"
      ]
    },
    "nullable": [
      false,
      false,
      false,
      false,
      false,
      false,
      false,
      false
    ]
  },
  "hash": "9756af60cdd26c0994b8e06bd610c7ec606f1faf681dc01835d1253205d067b4"
}
