Array
(
    [0] => Array
        (
            [query] => select count(*) as aggregate from `events` where `status` = ? and exists (select * from `domains` inner join `table_to_domains` on `domains`.`id` = `table_to_domains`.`domain_id` where `events`.`id` = `table_to_domains`.`tbl_id` and `domain_id` = ? and (`table_name` = ?))
            [bindings] => Array
                (
                    [0] => 1
                    [1] => 7
                    [2] => events
                )

            [time] => 21.72
        )

    [1] => Array
        (
            [query] => select * from `events` where `status` = ? and exists (select * from `domains` inner join `table_to_domains` on `domains`.`id` = `table_to_domains`.`domain_id` where `events`.`id` = `table_to_domains`.`tbl_id` and `domain_id` = ? and (`table_name` = ?)) order by `created_at` desc limit 10 offset 0
            [bindings] => Array
                (
                    [0] => 1
                    [1] => 7
                    [2] => events
                )

            [time] => 21.48
        )

)