{
  "db_name": "PostgreSQL",
  "query": "\n                WITH to_delete AS (\n                    SELECT upstream_oauth_authorization_session_id\n                    FROM upstream_oauth_authorization_sessions\n                    WHERE ($1::uuid IS NULL OR upstream_oauth_authorization_session_id > $1)\n                      AND upstream_oauth_authorization_session_id <= $2\n                      AND user_session_id IS NULL\n                    ORDER BY upstream_oauth_authorization_session_id\n                    LIMIT $3\n                )\n                DELETE FROM upstream_oauth_authorization_sessions\n                USING to_delete\n                WHERE upstream_oauth_authorization_sessions.upstream_oauth_authorization_session_id = to_delete.upstream_oauth_authorization_session_id\n                RETURNING upstream_oauth_authorization_sessions.upstream_oauth_authorization_session_id\n            ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "upstream_oauth_authorization_session_id",
        "type_info": "Uuid"
      }
    ],
    "parameters": {
      "Left": [
        "Uuid",
        "Uuid",
        "Int8"
      ]
    },
    "nullable": [
      false
    ]
  },
  "hash": "6db23fc9c39c2c7d9224d4e1233205f636568c990ccb05cf9208750ad1330b9b"
}
