{
  "db_name": "PostgreSQL",
  "query": "\n            SELECT id, delegated_did, controller_did, granted_scopes,\n                   granted_at, granted_by, revoked_at, revoked_by\n            FROM account_delegations\n            WHERE delegated_did = $1 AND controller_did = $2 AND revoked_at IS NULL\n            ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 1,
        "name": "delegated_did",
        "type_info": "Text"
      },
      {
        "ordinal": 2,
        "name": "controller_did",
        "type_info": "Text"
      },
      {
        "ordinal": 3,
        "name": "granted_scopes",
        "type_info": "Text"
      },
      {
        "ordinal": 4,
        "name": "granted_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 5,
        "name": "granted_by",
        "type_info": "Text"
      },
      {
        "ordinal": 6,
        "name": "revoked_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 7,
        "name": "revoked_by",
        "type_info": "Text"
      }
    ],
    "parameters": {
      "Left": [
        "Text",
        "Text"
      ]
    },
    "nullable": [
      false,
      false,
      false,
      false,
      false,
      false,
      true,
      true
    ]
  },
  "hash": "335da59237a33269b6dbd4fa8e93056171d122040a399947560f63890dd4a39e"
}
