I made a query like that :
$selectSubcata = $this->modelsManager->createBuilder() ->columns("id,name,url") ->from("ItemsCategories") ->where("parent_id = :parent_id:",array("parent_id" => $val['id'])) ->andWhere("active = 1") ->orderBy("list_order ASC"); $a = $selectSubcata->getQuery()->execute();
When I print out $a via print_r i got everyting on site include databases, translations etc. And when I include it on array it's so big and it will be cuz of slowness ?
How can I return only data ? and is there a hydrate array on modelsManager ?