{ "db_name": "SQLite", "query": "\n with has_messages as (\n select conversation\n from message\n group by conversation\n )\n delete from conversation_deleted\n where deleted_at < $1\n and id not in has_messages\n returning id as \"id: Id\"\n ", "describe": { "columns": [ { "name": "id: Id", "ordinal": 0, "type_info": "Text" } ], "parameters": { "Right": 1 }, "nullable": [ false ] }, "hash": "0e06b7b5aeb29b946ab79430dd7a65ab18430e7f71afde9af52e99767c1f268f" }