{
  "db_name": "PostgreSQL",
  "query": "SELECT app.id, app.path, app.summary, app.versions, app.policy,\n            app.extra_perms, app_version.value, \n            app_version.created_at, app_version.created_by from app, app_version \n            WHERE app.workspace_id = $1 AND app_version.id = app.versions[array_upper(app.versions, 1)]",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "id",
        "type_info": "Int8"
      },
      {
        "ordinal": 1,
        "name": "path",
        "type_info": "Varchar"
      },
      {
        "ordinal": 2,
        "name": "summary",
        "type_info": "Varchar"
      },
      {
        "ordinal": 3,
        "name": "versions",
        "type_info": "Int8Array"
      },
      {
        "ordinal": 4,
        "name": "policy",
        "type_info": "Jsonb"
      },
      {
        "ordinal": 5,
        "name": "extra_perms",
        "type_info": "Jsonb"
      },
      {
        "ordinal": 6,
        "name": "value",
        "type_info": "Json"
      },
      {
        "ordinal": 7,
        "name": "created_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 8,
        "name": "created_by",
        "type_info": "Varchar"
      }
    ],
    "parameters": {
      "Left": [
        "Text"
      ]
    },
    "nullable": [
      false,
      false,
      false,
      false,
      false,
      false,
      false,
      false,
      false
    ]
  },
  "hash": "023fffd0a042a28b5be991169a506aff92f64f84e49b4c041cd369b045c31e73"
}
