category
descendants
products
breadcrumbs
obLevel
__env
app
errors
child
index
select * from `ec_categories` where `ec_categories`.`id` = '17' limit 1
SELECT *
LIMIT
ORDER BY
select * from `ec_categories` where `lft` >= '4' and `lft` < '63' and `id` != '17' and `product_count` > '0' order by `ec_categories`.`order` asc
!=
<>
select `ec_products`.*, `ec_categorizables`.`category_id` as `pivot_category_id`, `ec_categorizables`.`categorizable_id` as `pivot_categorizable_id` from `ec_products` inner join `ec_categorizables` on `ec_products`.`id` = `ec_categorizables`.`categorizable_id` where `ec_categorizables`.`category_id` = '17' and `ec_categorizables`.`categorizable_type` = 'App\Product' and `type` != '3' and `display` = '1' and `ec_products`.`deleted_at` is null order by `sort` asc
select * from `ec_categories` where `lft` <= '4' and `rgt` >= '63' and `id` != '17' order by `ec_categories`.`order` asc