{
  "db_name": "PostgreSQL",
  "query": "UPDATE token SET last_used_at = now() WHERE\n                        token = $1\n                        AND (expiration > NOW() OR expiration IS NULL)\n                        AND (workspace_id IS NULL OR workspace_id = $2)\n                    RETURNING owner, email, super_admin, scopes, label",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "owner",
        "type_info": "Varchar"
      },
      {
        "ordinal": 1,
        "name": "email",
        "type_info": "Varchar"
      },
      {
        "ordinal": 2,
        "name": "super_admin",
        "type_info": "Bool"
      },
      {
        "ordinal": 3,
        "name": "scopes",
        "type_info": "TextArray"
      },
      {
        "ordinal": 4,
        "name": "label",
        "type_info": "Varchar"
      }
    ],
    "parameters": {
      "Left": [
        "Text",
        "Text"
      ]
    },
    "nullable": [
      true,
      true,
      false,
      true,
      true
    ]
  },
  "hash": "c7d595d2a12228c49359440ca3a9622f1de5f5ee4bbe5d2b23f6fdb6379cebf3"
}
