{ "db_name": "SQLite", "query": "\n with has_messages as (\n select channel\n from message\n group by channel\n )\n delete from channel_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": "487092b18b01005fdb446c11f4726612141f7242decad1de5d9d5f166cb04990" }