Hello,
my bd!
my code:
$application = Cms\Models\Application::query() ->join("Cms\Models\Licence", 'Cms\Models\Application.id = licence.application_id','licence') ->join("Cms\Models\Paiement", 'paiement.id = licence.paiement_id','paiement') ->columns( array( 'Cms\Models\Application.id', 'Cms\Models\Application.created', 'Cms\Models\Application.updated', 'Cms\Models\Application.nom', 'Cms\Models\Application.logo', 'Cms\Models\Application.zip', 'Cms\Models\Application.url', 'licence.*', 'paiement.*' ) ) ->execute();
If, i have no licence or paiement register, this request return nothing, if i remove the join i receive the application correctly
ty.