{ "db_name": "SQLite", "query": "SELECT c.mode as mode, c.regular_interval as regular_interval, c.random_min_time as random_min_time,\n c.random_max_time as random_max_time, c.cron_schedule as cron_schedule, c.cron_mode as cron_mode\n FROM beacon_instance i\n INNER JOIN beacon_config c ON c.config_id = i.config_id\n WHERE i.beacon_id = ?\n UNION\n SELECT c.mode as mode, c.regular_interval as regular_interval, c.random_min_time as random_min_time,\n c.random_max_time as random_max_time, c.cron_schedule as cron_schedule, c.cron_mode as cron_mode\n FROM beacon_instance i\n INNER JOIN beacon_template t ON i.template_id = t.template_id\n INNER JOIN beacon_config c ON t.config_id = c.config_id\n WHERE i.beacon_id = ?", "describe": { "columns": [ { "name": "mode", "ordinal": 0, "type_info": "Text" }, { "name": "regular_interval", "ordinal": 1, "type_info": "Integer" }, { "name": "random_min_time", "ordinal": 2, "type_info": "Integer" }, { "name": "random_max_time", "ordinal": 3, "type_info": "Integer" }, { "name": "cron_schedule", "ordinal": 4, "type_info": "Text" }, { "name": "cron_mode", "ordinal": 5, "type_info": "Text" } ], "parameters": { "Right": 2 }, "nullable": [ true, true, true, true, true, true ] }, "hash": "bb07fb691f373dea848c0368d4c36e4c2b079d2d1efc0006d43d6833023101a3" }