{ "db_name": "PostgreSQL", "query": "SELECT name, array_agg(DISTINCT canteen ORDER BY canteen) AS canteens, dish_type, image_src, price_students, price_employees, price_guests, vegan, vegetarian \n FROM meals WHERE date = $1 AND canteen = ANY($2) \n GROUP BY name, dish_type, image_src, price_students, price_employees, price_guests, vegan, vegetarian\n ORDER BY name", "describe": { "columns": [ { "ordinal": 0, "name": "name", "type_info": "Text" }, { "ordinal": 1, "name": "canteens", "type_info": "TextArray" }, { "ordinal": 2, "name": "dish_type", "type_info": "Text" }, { "ordinal": 3, "name": "image_src", "type_info": "Text" }, { "ordinal": 4, "name": "price_students", "type_info": "Numeric" }, { "ordinal": 5, "name": "price_employees", "type_info": "Numeric" }, { "ordinal": 6, "name": "price_guests", "type_info": "Numeric" }, { "ordinal": 7, "name": "vegan", "type_info": "Bool" }, { "ordinal": 8, "name": "vegetarian", "type_info": "Bool" } ], "parameters": { "Left": [ "Date", "TextArray" ] }, "nullable": [ false, null, false, true, false, false, false, false, false ] }, "hash": "b5a990f34095b255672e81562dc905e1957d1d33d823dc82ec92b552f5092028" }