{
  "db_name": "PostgreSQL",
  "query": "SELECT DISTINCT ON (path)\n                      path,\n                      value as \"value!: sqlx::types::Json<Box<serde_json::value::RawValue>>\",\n                      created_at\n               FROM draft\n               WHERE workspace_id = $1\n                 AND typ = 'flow'\n                 AND (email = $2 OR email IS NULL)\n                 AND NOT EXISTS (\n                     SELECT 1 FROM flow f\n                     WHERE f.workspace_id = draft.workspace_id\n                       AND f.path = draft.path\n                 )\n               ORDER BY path, (email IS NULL)",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "path",
        "type_info": "Varchar"
      },
      {
        "ordinal": 1,
        "name": "value!: sqlx::types::Json<Box<serde_json::value::RawValue>>",
        "type_info": "Json"
      },
      {
        "ordinal": 2,
        "name": "created_at",
        "type_info": "Timestamptz"
      }
    ],
    "parameters": {
      "Left": [
        "Text",
        "Text"
      ]
    },
    "nullable": [
      false,
      false,
      false
    ]
  },
  "hash": "5223412e366b22d953867425ed6156a66727e7a469abad1664ee03a3da31078a"
}
