why my query builder returning only Membersdirectory columns and not showing Membersfile columns and data...
<?php
$sample = CB::createBuilder()
->from('Models\Membersdirectory')
->leftJoin('Models\Membersfile', 'Models\Membersdirectory.contentpath = Models\Membersfile.filepath')
->where('Models\Membersdirectory.directoryid = "36E7E533-C299-4290-851C-28257001DB1B"')
->getQuery()
->execute();
echo json_encode($sample->toArray());
?>